summaryrefslogtreecommitdiff
path: root/pkgtools/revbump/files/replace-commonbump
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/revbump/files/replace-commonbump')
-rw-r--r--pkgtools/revbump/files/replace-commonbump6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/revbump/files/replace-commonbump b/pkgtools/revbump/files/replace-commonbump
index c1f46485933..ef58ba207ff 100644
--- a/pkgtools/revbump/files/replace-commonbump
+++ b/pkgtools/revbump/files/replace-commonbump
@@ -121,11 +121,11 @@ sub GenerateHash ($$) {
if ( $included =~ m|options.mk| ) { next;}
if ( $included =~ m|enigmail.mk| ) { next;}
- $included =~ s,\${.CURDIR},$shortname,;
- if ($included =~ /\${([^}]+)}/ ) {
+ $included =~ s,\$\{.CURDIR},$shortname,;
+ if ($included =~ /\$\{([^}]+)}/ ) {
my($varname) = $1;
my($value) = show_var($varname, $shortdir);
- $included =~ s/\${[^}]+}/$value/;
+ $included =~ s/\$\{[^}]+}/$value/;
if ($value eq '') {
print STDERR
$FILE, ': ', __LINE__, ' Value ${', $varname, '} is empty at ', $shortdir, "\n";