summaryrefslogtreecommitdiff
path: root/scripts/vyatta-cli-expand-var.pl
diff options
context:
space:
mode:
authorslioch <slioch@eng-140.vyatta.com>2009-07-31 15:08:30 -0700
committerslioch <slioch@eng-140.vyatta.com>2009-07-31 15:08:30 -0700
commitc25cec88d97a4dbb0e04a45d620f7e4c9796e02d (patch)
tree1f0aad67603e7f461f7550a16a010c8bcd445307 /scripts/vyatta-cli-expand-var.pl
parent9c2f8965e28bd4af5f8773b85dbee0511f447ec3 (diff)
parent362e4280979ad499fc9662023761250ac24e02aa (diff)
downloadvyatta-cfg-c25cec88d97a4dbb0e04a45d620f7e4c9796e02d.tar.gz
vyatta-cfg-c25cec88d97a4dbb0e04a45d620f7e4c9796e02d.zip
Merge branch 'kenwood' of http://git.vyatta.com/vyatta-cfg into kenwood
Diffstat (limited to 'scripts/vyatta-cli-expand-var.pl')
-rwxr-xr-xscripts/vyatta-cli-expand-var.pl2
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;
}