浏览代码

unify entrypoint name

Tobias Simetsreiter 4 年之前
父节点
当前提交
8b7c9130db
共有 2 个文件被更改,包括 5 次插入6 次删除
  1. 4 5
      Makefile
  2. 1 1
      unsharxz.sh

+ 4 - 5
Makefile

@@ -1,7 +1,7 @@
 
 
 .PHONY: build
-build: build/bootstrap_captive_bundle.sh.sha256
+build: build/bootstrap_captive.sha256
 
 rebuild: clean build
 
@@ -10,11 +10,10 @@ build/src: src
 	rsync -ai --delete --exclude __pycache__ src/ build/src/
 	uuidgen > build/src/build.uuid
 
-build/bootstrap_captive_bundle.sh.sha256: build/bootstrap_captive_bundle.sh
-	cd build && sha256sum bootstrap_captive_bundle.sh > \
-		bootstrap_captive_bundle.sh.sha256
+build/bootstrap_captive.sha256: build/bootstrap_captive
+	cd build && sha256sum bootstrap_captive > ${@F}
 
-build/bootstrap_captive_bundle.sh: build/src
+build/bootstrap_captive: build/src
 	./sharxz.sh build/src/ ${@}.tmp
 	mv ${@}.tmp ${@}
 

+ 1 - 1
unsharxz.sh

@@ -16,4 +16,4 @@ EXITCODE=$?
 rm -r $TMPDIR
 exit $EXITCODE
 
-# cat <<SAFEPAYLOADEOF > /dev/null
+cat <<SAFEPAYLOADEOF > /dev/null