Commit b605398
committed
Fix pm_to_blib for VMS
154730c broke the core build on VMS. The one-liner is not
parseable and it turns out to be due to a bug in the make utility
(MMK) wherein the comment character ('#') does not get ignored
within a quoted string on a continuation line (it's fine on the
first line of a rule). So squirrel away $#ARGV and its '#'
character in another variable on the first line, where it causes
no trouble, then use the substitute on the second line.
Also, replace literal quote characters with the q operator where
it's easy to do so; it's a lot easier to read and debug the
generated code if you don't have to think about all of the quoting
and escaping and interpolation rules regarding single and double
quotes for Perl, the make utility, and the shell all at once.1 parent 1ac2de7 commit b605398
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3191 | 3191 | | |
3192 | 3192 | | |
3193 | 3193 | | |
3194 | | - | |
3195 | | - | |
| 3194 | + | |
| 3195 | + | |
3196 | 3196 | | |
3197 | | - | |
| 3197 | + | |
3198 | 3198 | | |
3199 | 3199 | | |
3200 | 3200 | | |
| |||
0 commit comments