Firstly, move the #! to the top, as the kernels require (otherwise if
you are lucky your shell can run it, but wrapper programs can't).
Secondly, use `exec' to have dev-cura exec cura without forking.
With these two changes, it is easier to strace dev-cura: you can run
strace -ot ./dev-cura
rather than
strace -fot bash ./dev-cura
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
#!/bin/sh
## cura
-PYTHONPATH=$PYTHONPATH:. python ./scripts/linux/cura.py "$@"
+PYTHONPATH=$PYTHONPATH:. exec python ./scripts/linux/cura.py "$@"