From e18d3046fec1d36e8cff47bdb5804c03aef5e7bd Mon Sep 17 00:00:00 2001 From: "Tom G. Christensen" Date: Sun, 11 Apr 2004 20:31:53 +0000 Subject: [PATCH] Setup build.sh to be executable with a suitable bash --- newpkg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/newpkg b/newpkg index 9a2e537..efe8210 100644 --- a/newpkg +++ b/newpkg @@ -23,4 +23,8 @@ do done cp scripts/build.sh.generic $arg1/build.sh -#cp scripts/pkginfo.in $arg1/meta +chmod 755 $arg1/build.sh +if [ "$($UNAME -s)" == "IRIX" ]; then + $SED -e 's/bin\/bash/usr\/local\/bin\/bash/g' $arg1/build.sh > $arg1/build.sh.tmp + $MV $arg1/build.sh.tmp $arg1/build.sh +fi