Setup build.sh to be executable with a suitable bash

This commit is contained in:
Tom G. Christensen 2004-04-11 20:31:53 +00:00
parent 96dd8f0a90
commit e18d3046fe

6
newpkg
View File

@ -23,4 +23,8 @@ do
done done
cp scripts/build.sh.generic $arg1/build.sh 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