diff options
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"; |