diff options
author | Herb Lewis <herb@samba.org> | 1997-12-01 14:50:52 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 1997-12-01 14:50:52 +0000 |
commit | 365f1eadaa969e807dd8906a3291100b4a37def6 (patch) | |
tree | 4f9ad67c913eed8811ecece693b03f25b51e28b8 /packaging/SGI/makefile.pl | |
parent | bea2394b49bfa5db08c45b2ff76e5bb643cec629 (diff) | |
download | samba-365f1eadaa969e807dd8906a3291100b4a37def6.tar.gz samba-365f1eadaa969e807dd8906a3291100b4a37def6.tar.xz samba-365f1eadaa969e807dd8906a3291100b4a37def6.zip |
dded error checking to scripts
(This used to be commit b7e1265f106010e03d92575f4578162ec659994b)
Diffstat (limited to 'packaging/SGI/makefile.pl')
-rwxr-xr-x | packaging/SGI/makefile.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/SGI/makefile.pl b/packaging/SGI/makefile.pl index 544fb7e32d..bd34299ac7 100755 --- a/packaging/SGI/makefile.pl +++ b/packaging/SGI/makefile.pl @@ -12,8 +12,8 @@ else { $OSver = $ARGV[0]; } -open(MAKEIN,"../../source/Makefile"); -open(MAKEOUT,">Makefile"); +open(MAKEIN,"../../source/Makefile") || die "Unable to open source Makefile\n"; +open(MAKEOUT,">Makefile") || die "Unable to open Makefile for output\n"; while (<MAKEIN>) { if (/^BASEDIR =/) { print MAKEOUT "BASEDIR = /usr/samba\n"; |