From 2b59438d3317b9046fdb5c9563ea0321d4808149 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 6 Feb 2016 16:08:02 +0000 Subject: [PATCH] dev-cura: Make into a proper script 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 --- dev-cura | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cura b/dev-cura index 9cd99f46..f83b768a 100755 --- a/dev-cura +++ b/dev-cura @@ -1,3 +1,3 @@ #!/bin/sh ## cura -PYTHONPATH=$PYTHONPATH:. python ./scripts/linux/cura.py "$@" +PYTHONPATH=$PYTHONPATH:. exec python ./scripts/linux/cura.py "$@" -- 2.30.2