summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2014-09-29 14:02:00 +0200
committerJan Pokorný <jpokorny@redhat.com>2014-09-29 16:08:35 +0200
commitbe17cc5e0706f77dd91eb9724f902c756777bf51 (patch)
treee9341e16c47a217e195846878b9c522290cf2436
parent29547e5b47f31b2bc542d771a7c7a2b130c259ae (diff)
downloadclufter-be17cc5e0706f77dd91eb9724f902c756777bf51.tar.gz
clufter-be17cc5e0706f77dd91eb9724f902c756777bf51.tar.xz
clufter-be17cc5e0706f77dd91eb9724f902c756777bf51.zip
run-dev: fix typo sys.path -> sys.argv
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rwxr-xr-x__root__/run-dev2
1 files changed, 1 insertions, 1 deletions
diff --git a/__root__/run-dev b/__root__/run-dev
index 22f33eb..0014b17 100755
--- a/__root__/run-dev
+++ b/__root__/run-dev
@@ -24,7 +24,7 @@ script_path = get_script_path()
real_script_path = realpath(script_path)
-if (basename(real_script_path) != basename(sys.path[0])
+if (basename(real_script_path) != basename(sys.argv[0])
and 'LOGSKIP' not in globals()):
# when execfile'd from tests or so, verbose logging desired
from os import environ