Switching to `` requires one more \ to escape $Config in new_config=`...`
Nicholas Clark [Wed, 31 Dec 2008 07:44:28 +0000 (07:44 +0000)]
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'