diff --git a/make/py-run.mk b/make/py-run.mk index ce30667c..2a1ac497 100644 --- a/make/py-run.mk +++ b/make/py-run.mk @@ -15,7 +15,7 @@ run: $(PYTHON) $(EXE) $(EXE_ARGS) run.sh: - echo -e "#!/bin/bash\n\nexport PYTHONPATH=$(PYTHONPATH)\nset -x\nexec $(PYTHON) $(EXE)" '"$$*"' > $@.tmp + echo -e "#!/bin/bash\n\nexport PYTHONPATH=$(PYTHONPATH)\nset -x\nexec $(PYTHON) $(EXE)" '"$$@"' > $@.tmp chmod 755 $@.tmp mv $@.tmp $@ clean-run-sh: