Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornickthetait <tait@alephobjects.com>2016-02-11 22:40:25 +0300
committernickthetait <tait@alephobjects.com>2016-02-11 22:40:25 +0300
commitcea1380f2bee9aad8126d01a1a044985a4a45770 (patch)
treea7a0571d8b809f515eb933ab07e76628899dc905 /dev-cura
parentecbe328d0ac9c87eac4118c65cf4c6c307078f4a (diff)
Allow dev-cura to be run from directories other than where it is located
Diffstat (limited to 'dev-cura')
-rwxr-xr-xdev-cura1
1 files changed, 1 insertions, 0 deletions
diff --git a/dev-cura b/dev-cura
index f83b768abe..debfeb6725 100755
--- a/dev-cura
+++ b/dev-cura
@@ -1,3 +1,4 @@
#!/bin/sh
## cura
+cd "${0%/*}"
PYTHONPATH=$PYTHONPATH:. exec python ./scripts/linux/cura.py "$@"