summaryrefslogtreecommitdiff
path: root/packaging/SGI/makefile.pl
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>1997-12-01 14:50:52 +0000
committerHerb Lewis <herb@samba.org>1997-12-01 14:50:52 +0000
commit365f1eadaa969e807dd8906a3291100b4a37def6 (patch)
tree4f9ad67c913eed8811ecece693b03f25b51e28b8 /packaging/SGI/makefile.pl
parentbea2394b49bfa5db08c45b2ff76e5bb643cec629 (diff)
downloadsamba-365f1eadaa969e807dd8906a3291100b4a37def6.tar.gz
samba-365f1eadaa969e807dd8906a3291100b4a37def6.tar.bz2
samba-365f1eadaa969e807dd8906a3291100b4a37def6.zip
dded error checking to scripts
(This used to be commit b7e1265f106010e03d92575f4578162ec659994b)
Diffstat (limited to 'packaging/SGI/makefile.pl')
-rwxr-xr-xpackaging/SGI/makefile.pl4
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";