From f721244ad10010e1ce9b470db54b5999d12a3652 Mon Sep 17 00:00:00 2001 From: Sinisa Veseli <sveseli@aps.anl.gov> Date: Mon, 21 Sep 2015 20:16:05 +0000 Subject: [PATCH] fix for shell arguments with spaces --- bin/dm-add-experiment | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/dm-add-experiment b/bin/dm-add-experiment index 01476a9f..b60a9791 100755 --- a/bin/dm-add-experiment +++ b/bin/dm-add-experiment @@ -11,7 +11,8 @@ if [ -z $DM_ROOT_DIR ]; then fi source $setupFile > /dev/null fi +source dm_command_setup.sh -$DM_ROOT_DIR/src/python/dm/ds_web_service/cli/addExperimentCli.py $@ +eval "$DM_ROOT_DIR/src/python/dm/ds_web_service/cli/addExperimentCli.py $DM_COMMAND_ARGS" -- GitLab