Skip to content

Commit 6cf069f

Browse files
committed
BUGFIX: rsync error on Preserve Environment and Config fil
1 parent 5912d02 commit 6cf069f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

menu.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function yml_builder() {
3838
sevice_overwrite=$(whiptail --radiolist --title "Overwrite Option" --notags \
3939
"$1 service directory has been detected, use [SPACEBAR] to select you overwrite option" 20 78 12 \
4040
"none" "Do not overwrite" "ON" \
41-
"env" "Preserve Environment and Config file" "OFF" \
41+
"env" "Preserve Environment and Config files" "OFF" \
4242
"full" "Pull full service from template" "OFF" \
4343
3>&1 1>&2 2>&3)
4444

@@ -50,7 +50,7 @@ function yml_builder() {
5050
;;
5151
"env")
5252
echo "...pulled $1 excluding env file"
53-
rsync -a -q .templates/$1/ services/$1/ --exclude 'build.sh' --exclude '$1.env' --exclude $(*.conf)
53+
rsync -a -q .templates/$1/ services/$1/ --exclude 'build.sh' --exclude '$1.env' --exclude '*.conf'
5454
;;
5555
"none")
5656
echo "...$1 service not overwritten"

0 commit comments

Comments
 (0)