Forgot one mkdir->$MKDIR during the last cleanup.
Made the $SED substitution a bit more readable.
This commit is contained in:
parent
b9c7b5c0ee
commit
f65dca19aa
4
newpkg
4
newpkg
@ -19,13 +19,13 @@ echo "Creating sandbox for $arg1"
|
|||||||
$MKDIR "$arg1"
|
$MKDIR "$arg1"
|
||||||
for i in $REQ_DIRS
|
for i in $REQ_DIRS
|
||||||
do
|
do
|
||||||
mkdir $arg1/$i
|
$MKDIR $arg1/$i
|
||||||
done
|
done
|
||||||
|
|
||||||
$CP scripts/build.sh.generic $arg1/build.sh
|
$CP scripts/build.sh.generic $arg1/build.sh
|
||||||
chmod 755 $arg1/build.sh
|
chmod 755 $arg1/build.sh
|
||||||
if [ "$($UNAME -s)" == "IRIX" ]; then
|
if [ "$($UNAME -s)" == "IRIX" ]; then
|
||||||
$SED -e 's/bin\/bash/usr\/local\/bin\/bash/g' $arg1/build.sh > $arg1/build.sh.tmp
|
$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
|
$MV $arg1/build.sh.tmp $arg1/build.sh
|
||||||
$CP scripts/pkgdef.template.irix $arg1/meta/pkgdef
|
$CP scripts/pkgdef.template.irix $arg1/meta/pkgdef
|
||||||
$CP scripts/relnotes.template.irix $arg1/meta/relnotes
|
$CP scripts/relnotes.template.irix $arg1/meta/relnotes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user