aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/genenetwork26
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