From 698be58313c5d52599292bf3436a3d9f55c5673d Mon Sep 17 00:00:00 2001 From: Paul Caskey Date: Mon, 17 Jul 2017 17:40:37 -0500 Subject: [PATCH] bugfixes --- configBuilder.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configBuilder.sh b/configBuilder.sh index 1db065f..2b95541 100755 --- a/configBuilder.sh +++ b/configBuilder.sh @@ -511,8 +511,10 @@ echo "" echo "Creating sanitized config for hybrid build..." echo "" destPath=./ConfigNoSecrets -#cp -rf `realpath ${PWD}`/. $destPath >/dev/null 2>>/dev/null -rsync -a . ./testCPNS --exclude ${destPath} +destPathName=ConfigNoSecrets +# check for rsync +command -v rsync >/dev/null 2>&1 || { echo >&2 "ERROR: rsync is required, but doesn't appear to be installed. Aborting..."; exit 1; } +rsync -a . ${destPath} --exclude ${destPathName} mkdir -p ./${destPath}/SECRETS # move secrets