Browse Source

unify entrypoint name

Tobias Simetsreiter 4 years ago
parent
commit
8b7c9130db
2 changed files with 5 additions and 6 deletions
  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