chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f0890e
)
Fix the dev-cura script
author
Youness Alaoui
<kakaroto@kakaroto.homelinux.net>
Tue, 26 Jan 2016 18:05:02 +0000
(13:05 -0500)
committer
Youness Alaoui
<kakaroto@kakaroto.homelinux.net>
Tue, 26 Jan 2016 18:05:02 +0000
(13:05 -0500)
The shebang needs to be the first line of the script.
Use python instead of /usr/bin/python
Do not override PYTHONPATH, just add the current dir to it.
dev-cura
patch
|
blob
|
history
diff --git
a/dev-cura
b/dev-cura
index 22133cf90dd734a4f9183606e0c395aecbef7b63..9cd99f4619e104bdce9cf3b1319961d07984af5a 100755
(executable)
--- a/
dev-cura
+++ b/
dev-cura
@@
-1,3
+1,3
@@
-## cura
#!/bin/sh
-PYTHONPATH=. /usr/bin/python ./scripts/linux/cura.py "$@"
+## cura
+PYTHONPATH=$PYTHONPATH:. python ./scripts/linux/cura.py "$@"