diff --git a/src/makeBaseApp/top/config/makeNfsCommands.pl b/src/makeBaseApp/top/config/makeNfsCommands.pl new file mode 100644 index 000000000..e52b0f108 --- /dev/null +++ b/src/makeBaseApp/top/config/makeNfsCommands.pl @@ -0,0 +1,15 @@ +eval 'exec perl -S $0 ${1+"$@"}' # -*- Mode: perl -*- + if $running_under_some_shell; # makeNfsCommands.pl + +use Cwd; + +$cwd = cwd(); + +unlink("nfs.cmd"); +open(INP,"nfs.cmd") + or die "$! Copying nfsCommands to nfs.cmd"; +while () { + print OUT $_; +} +print OUT "cd \"$cwd\"\n"; +close INP; close OUT;