Skip to content

Commit

Permalink
BUGFIX: rsync error on Preserve Environment and Config fil
Browse files Browse the repository at this point in the history
  • Loading branch information
gcgarner committed Nov 18, 2019
1 parent 5912d02 commit 6cf069f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions menu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function yml_builder() {
sevice_overwrite=$(whiptail --radiolist --title "Overwrite Option" --notags \
"$1 service directory has been detected, use [SPACEBAR] to select you overwrite option" 20 78 12 \
"none" "Do not overwrite" "ON" \
"env" "Preserve Environment and Config file" "OFF" \
"env" "Preserve Environment and Config files" "OFF" \
"full" "Pull full service from template" "OFF" \
3>&1 1>&2 2>&3)

Expand All @@ -50,7 +50,7 @@ function yml_builder() {
;;
"env")
echo "...pulled $1 excluding env file"
rsync -a -q .templates/$1/ services/$1/ --exclude 'build.sh' --exclude '$1.env' --exclude $(*.conf)
rsync -a -q .templates/$1/ services/$1/ --exclude 'build.sh' --exclude '$1.env' --exclude '*.conf'
;;
"none")
echo "...$1 service not overwritten"
Expand Down

0 comments on commit 6cf069f

Please sign in to comment.