diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-10-29 11:28:38 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-10-29 11:28:38 -0700 |
commit | aa669cec4147e760ac417078e6a452ab0ad12762 (patch) | |
tree | 9b19667db9b07aa14b3b2e668857ea8850cdd554 /templates/system/time-zone | |
parent | 5b78ea49c31ed83d9fd1035cf6d31384760be5b2 (diff) | |
parent | 5ce7766515b85b0de4bcf8f2e72768ab6eaecca7 (diff) | |
download | vyatta-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.def | 3 |
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 |