From cea1380f2bee9aad8126d01a1a044985a4a45770 Mon Sep 17 00:00:00 2001 From: nickthetait Date: Thu, 11 Feb 2016 12:40:25 -0700 Subject: Allow dev-cura to be run from directories other than where it is located --- dev-cura | 1 + 1 file changed, 1 insertion(+) (limited to 'dev-cura') 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 "$@" -- cgit v1.2.3