@@ -94,7 +94,7 @@ build-go: overlordd ghost ghost-linux
94
94
build-py :
95
95
@ln -sf ../py/ghost.py bin
96
96
$(call cmd_msg,SHA1,ghost.py)
97
- @sha1sum py/ghost.py > bin/ghost.py.sha1
97
+ @sha1sum py/ghost.py | awk ' { print $$1 } ' > bin/ghost.py.sha1
98
98
99
99
@mkdir -p $(BUILD)
100
100
$(call cmd_msg,VENV,creating virtualenv)
@@ -111,14 +111,14 @@ build-py:
111
111
pyinstaller --onefile $(CURDIR)/py/ovl.py > /dev/null;
112
112
@mv $(BUILD)/dist/ovl $(BIN)/ovl.pybin
113
113
$(call cmd_msg,SHA1,ovl.pybin)
114
- @cd $(BIN) && sha1sum ovl.pybin > ovl.pybin.sha1
114
+ @cd $(BIN) && sha1sum ovl.pybin | awk '{ print $$1 }' > ovl.pybin.sha1
115
115
116
116
$(call cmd_msg,GEN,ghost.pybin)
117
117
@cd $(BUILD); . $(BUILD)/.venv/bin/activate; \
118
118
pyinstaller --onefile $(CURDIR)/py/ghost.py > /dev/null
119
119
@mv $(BUILD)/dist/ghost $(BIN)/ghost.pybin
120
120
$(call cmd_msg,SHA1,ghost.pybin)
121
- @cd $(BIN) && sha1sum ghost.pybin > ghost.pybin.sha1
121
+ @cd $(BIN) && sha1sum ghost.pybin | awk '{ print $$1 }' > ghost.pybin.sha1
122
122
123
123
go-fmt :
124
124
$(call cmd_msg,FMT,$(GO_DIRS ) )
0 commit comments