Skip to content

bugfixes #23

Merged
merged 3 commits into from
Jul 17, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions configBuilder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -511,8 +511,11 @@ echo ""
echo "Creating sanitized config for hybrid build..."
echo ""
destPath=./ConfigNoSecrets
cp -rf `realpath ${PWD}`/. $destPath >/dev/null 2>>/dev/null
mkdir -p ./ConfigNoSecrets/SECRETS
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
mv -f $destPath/config/shib-idp/conf/idp.properties $destPath/SECRETS/idp.properties > /dev/null
Expand Down