diff --git a/build_distribution.sh b/build_distribution.sh index 9775d14..b2c14a8 100755 --- a/build_distribution.sh +++ b/build_distribution.sh @@ -32,7 +32,7 @@ cp -R ../bin ./smartcopy/bin; cp -R ../lib ./smartcopy/lib; cp -R ../configuration.json ./smartcopy/; cp -R ../package.json ./smartcopy; -if [ ! -f ../configuration.json ] +if [ -f ../configuration.json ] then echo "Detected configuration file - including in build" cp ../configuration.json ./smartcopy; diff --git a/install.sh b/install.sh index 0a83d46..fac841d 100755 --- a/install.sh +++ b/install.sh @@ -1,5 +1,5 @@ #!/bin/bash -INSTALL_PATH=/opt/testing; +INSTALL_PATH=/opt; CONFIG_PATH=$INSTALL_PATH/smartcopy/configuration.json; PRESERVE_CONFIG="false"; if [ "$1" == "-preserve-config" ]