Switching to `` requires one more \ to escape $Config in new_config=`...`
authorNicholas Clark <nick@ccl4.org>
Wed, 31 Dec 2008 07:44:28 +0000 (07:44 +0000)
committerDavid Mitchell <davem@iabyn.com>
Mon, 30 Mar 2009 19:18:20 +0000 (20:18 +0100)
(cherry picked from commit 28b1daef84496f2ebce3fad4ac7861dd4dd92f38)

make_patchnum.sh

index 2caebb0..a00e121 100644 (file)
@@ -63,7 +63,7 @@ new_config=`cat <<EOFDATA
 # WARNING: lib/Config_git.pl is generated by make_patchnum.sh   #
 #          DO NOT EDIT DIRECTLY - edit make_patchnum.sh instead #
 #################################################################
-\$Config::Git_Data=<<'ENDOFGIT';
+\\$Config::Git_Data=<<'ENDOFGIT';
 git_commit_id='$commit_id'
 git_describe='$describe'
 git_branch='$branch'