diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2009-07-29 12:00:32 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2009-07-29 12:00:32 -0700 |
commit | f3744da98332e55d0487d8619ceb8ae7a0db3ac3 (patch) | |
tree | c687c4db5b60824140b119d8bb333612ba70df1a /scripts | |
parent | 840472340a7566b6850badf1e70ed0729e498a7e (diff) | |
download | vyatta-cfg-f3744da98332e55d0487d8619ceb8ae7a0db3ac3.tar.gz vyatta-cfg-f3744da98332e55d0487d8619ceb8ae7a0db3ac3.zip |
update cli-expand-var script to match current variable reference syntax.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vyatta-cli-expand-var.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-cli-expand-var.pl b/scripts/vyatta-cli-expand-var.pl index f690f0b..f3bda2d 100755 --- a/scripts/vyatta-cli-expand-var.pl +++ b/scripts/vyatta-cli-expand-var.pl @@ -34,7 +34,7 @@ $_ = $ARGV[0]; # basic format check: # '(' ')' not allowed in reference. # only allow absolute path for now. -if (!/^\$\(\/([^()]+)\)$/) { +if (!/^\$VAR\(\/([^()]+)\)$/) { print STDERR "invalid variable reference (invalid format)\n"; exit 1; } |