summaryrefslogtreecommitdiff
path: root/templates/system/time-zone
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-29 11:28:38 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-29 11:28:38 -0700
commitaa669cec4147e760ac417078e6a452ab0ad12762 (patch)
tree9b19667db9b07aa14b3b2e668857ea8850cdd554 /templates/system/time-zone
parent5b78ea49c31ed83d9fd1035cf6d31384760be5b2 (diff)
parent5ce7766515b85b0de4bcf8f2e72768ab6eaecca7 (diff)
downloadvyatta-cfg-system-aa669cec4147e760ac417078e6a452ab0ad12762.tar.gz
vyatta-cfg-system-aa669cec4147e760ac417078e6a452ab0ad12762.zip
Merge branch 'mendocino' of suva.vyatta.com:/git/vyatta-cfg-system into mendocino
Diffstat (limited to 'templates/system/time-zone')
-rw-r--r--templates/system/time-zone/node.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/system/time-zone/node.def b/templates/system/time-zone/node.def
index fcbad601..ec3b430a 100644
--- a/templates/system/time-zone/node.def
+++ b/templates/system/time-zone/node.def
@@ -21,7 +21,8 @@ update: LTF="/usr/share/zoneinfo"
exit 1
fi
delete:expression: "sudo ln -fs /usr/share/zoneinfo/GMT /etc/localtime"
-allowed: word=${COMP_WORDS[$COMP_CWORD]}
+allowed: shopt -s nullglob
+ word=${COMP_WORDS[$COMP_CWORD]}
if [[ $word == */* ]]; then
marr=($(ls -d /usr/share/zoneinfo/$word*))
else