-#! /usr/local/bin/perl
+#
+# Perl stub requires the following variable to be prepended
+# TMPDIR
+#
#
($Pgm = $0) =~ s/.*\/([^\/]+)$/\1/;
$Usage = "\n" . <<EOUSAGE;
if ( $ENV{'TMPDIR'} ) { # where to make tmp file names
$Tmpfile = $ENV{'TMPDIR'} . "/Makefile$$";
} else {
- $Tmpfile = "$(TMPDIR)/Makefile$$";
- $ENV{'TMPDIR'} = '$(TMPDIR)'; # set the env var as well
+ $Tmpfile = "${TMPDIR}/Makefile$$";
+ $ENV{'TMPDIR'} = "${TMPDIR}"; # set the env var as well
}
$SleazyTouch = '/usr/5bin/touch';
$DoTouch = 0;