From f3744da98332e55d0487d8619ceb8ae7a0db3ac3 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Wed, 29 Jul 2009 12:00:32 -0700 Subject: update cli-expand-var script to match current variable reference syntax. --- scripts/vyatta-cli-expand-var.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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; } -- cgit v1.2.3