summaryrefslogtreecommitdiffstats
path: root/files/scripts
diff options
context:
space:
mode:
authorKevin Fenzi <kevin@scrye.com>2016-11-26 19:31:26 +0000
committerKevin Fenzi <kevin@scrye.com>2016-11-26 19:31:41 +0000
commita1ecb9decb219490da38aac4bfed7c9ae3d11345 (patch)
tree5d7eed1b7a1897d6814dd2b58584352b4ab30643 /files/scripts
parenta601e03376bb6f1269ea6d676a958ff388a1902c (diff)
downloadansible-a1ecb9decb219490da38aac4bfed7c9ae3d11345.tar.gz
ansible-a1ecb9decb219490da38aac4bfed7c9ae3d11345.tar.xz
ansible-a1ecb9decb219490da38aac4bfed7c9ae3d11345.zip
fix for bash arrays from upstream. fixes multiple mod updates at once
Diffstat (limited to 'files/scripts')
-rwxr-xr-xfiles/scripts/update-fullfiletimelist4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/scripts/update-fullfiletimelist b/files/scripts/update-fullfiletimelist
index c0439da19..4dc23aecb 100755
--- a/files/scripts/update-fullfiletimelist
+++ b/files/scripts/update-fullfiletimelist
@@ -105,7 +105,7 @@ cd $tmpd
# flock -w 120 9 || exit 1 - Waits 120 seconds and then gives up
# Don't change the '9', unless you change the last line of this script.
- for mod in $MODS; do
+ for mod in ${MODS[@]}; do
currentfl=$TOPD/$mod/${FILELIST/'$mod'/$mod}
currenttl=$TOPD/$mod/${TIMELIST/'$mod'/$mod}
currentil=$TOPD/$mod/${IMAGELIST/'$mod'/$mod}
@@ -131,7 +131,7 @@ cd $tmpd
# Now we have the new file lists but in a temporary directory which
# probably isn't on the same filesystem. Copy them to temporary files in
# the right place.
- for mod in $MODS; do
+ for mod in ${MODS[@]}; do
currentfl=$TOPD/$mod/${FILELIST/'$mod'/$mod}
currenttl=$TOPD/$mod/${TIMELIST/'$mod'/$mod}
currentil=$TOPD/$mod/${IMAGELIST/'$mod'/$mod}