diff options
author | Arun Isaac | 2023-12-29 19:26:20 +0000 |
---|---|---|
committer | Arun Isaac | 2023-12-29 19:26:44 +0000 |
commit | 7fc329038720b85686f883177f6e7073e815bae8 (patch) | |
tree | a002eafe461d2e754e78d476afda4a21e41e6bd8 /bin | |
parent | 204a308be0f741726b9a620d88fbc22b22124c81 (diff) | |
download | genenetwork2-7fc329038720b85686f883177f6e7073e815bae8.tar.gz |
Remove only up to -c in bin/genenetwork2.
For example, in bin/genenetwork2 etc/default_settings.py -c -m pytest,
remove only up to -c.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/genenetwork2 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/genenetwork2 b/bin/genenetwork2 index 09b3415e..2ac83c7f 100755 --- a/bin/genenetwork2 +++ b/bin/genenetwork2 @@ -160,9 +160,9 @@ set|grep TMPDIR # Now handle command parameter -c which runs python if [ "$1" = '-c' ] ; then echo PYTHONPATH="${PYTHONPATH}" - shift ; shift - echo "RUNNING COMMAND ${cmd} ${*}" - python $cmd $* + shift + echo "RUNNING COMMAND python ${*}" + python $* exit $? fi |