Skip to content
Snippets Groups Projects
Commit 35743751 authored by Claudio Scafuri's avatar Claudio Scafuri :speech_balloon:
Browse files

pass command line argument to python script

parent 47f51d39
Branches master
Tags 1.0.1
No related merge requests found
......@@ -9,7 +9,7 @@ PY_FILES += $(wildcard src/*.py)
default: bin ${PY_FILES}
@cp ${PY_FILES} bin/${DIRNAME}
@echo "#!/bin/bash\nexec /runtime/bin/${DIRNAME}/${MAIN}" > bin/${NAME}
@echo "#!/bin/bash\nexec /runtime/bin/${DIRNAME}/${MAIN} $$\061" > bin/${NAME}
@chmod +x bin/${NAME} bin/${DIRNAME}/${MAIN}
bin:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment