Skip to content

Commit

Permalink
updated build and install script
Browse files Browse the repository at this point in the history
  • Loading branch information
davefinster committed Sep 23, 2015
1 parent 2e0cfcf commit a7e6156
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build_distribution.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -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" ]
Expand Down

0 comments on commit a7e6156

Please sign in to comment.