From b100023fc825cdbc769569a01262b9baf2cb7ecc Mon Sep 17 00:00:00 2001 From: Andreas Schenk <andreas_schenk@hms.harvard.edu> Date: Wed, 12 Sep 2012 14:32:43 -0400 Subject: [PATCH] quoted string for sourcing ost_config Without the quotes the scripts don't work if there is a directory with spaces in the binary path. --- scripts/dng.in | 2 +- scripts/ost.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/dng.in b/scripts/dng.in index 41e31bd63..d1d7096fc 100755 --- a/scripts/dng.in +++ b/scripts/dng.in @@ -26,6 +26,6 @@ else SCRIPT_NAME="$0" fi BIN_DIR=`dirname "$SCRIPT_NAME"` -source $BIN_DIR/../@LIBEXEC_PATH@/ost_config +source "$BIN_DIR/../@LIBEXEC_PATH@/ost_config" $BIN_DIR/../@LIBEXEC_PATH@/gosty $DNG_INITDIR/init.py dng $opts diff --git a/scripts/ost.in b/scripts/ost.in index 407daed10..bea69d9ec 100755 --- a/scripts/ost.in +++ b/scripts/ost.in @@ -29,7 +29,7 @@ else fi BIN_DIR=`dirname "$SCRIPT_NAME"` -source $BIN_DIR/../@LIBEXEC_PATH@/ost_config +source "$BIN_DIR/../@LIBEXEC_PATH@/ost_config" $pyexec $interactive "$DNG_ROOT/@LIBDIR@/python@PYTHON_VERSION@/site-packages/init_cl.py" $opts RC=$? -- GitLab