diff options
author | Herb Lewis <herb@samba.org> | 1997-10-24 18:41:08 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 1997-10-24 18:41:08 +0000 |
commit | f492bd51a61cbe6dd4f1971491b760fc7ebd2554 (patch) | |
tree | 3853b7c61ae9b9ec78134add6c2ae3ddddc32b57 /packaging/SGI/psfixes.pl | |
parent | bf5b060bd9d210efe95b3529dfba98c5c49716e0 (diff) | |
download | samba-f492bd51a61cbe6dd4f1971491b760fc7ebd2554.tar.gz |
update SGI build files to latest source
Diffstat (limited to 'packaging/SGI/psfixes.pl')
-rwxr-xr-x | packaging/SGI/psfixes.pl | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/packaging/SGI/psfixes.pl b/packaging/SGI/psfixes.pl new file mode 100755 index 00000000000..c64b67c8d40 --- /dev/null +++ b/packaging/SGI/psfixes.pl @@ -0,0 +1,28 @@ +#!/usr/bin/perl + +$found_vm = 0; + +while (<>) { + if (not $found_vm) { + if (not /^%/) { + if (/^%%Title:/) { + s/.
$/
/; + print; + } + else { + if (/^\/VM?/) { + print "/VM? { pop } bind def
\n"; + $found_vm = 1; + } + else { + print; + } + } + } + } + else { + if (/def
/) { + $found_vm = 0; + } + } +} |