Add __bash and use it in newpkg
This commit is contained in:
parent
b17d5ad85f
commit
f40ebf2c88
@ -1,6 +1,7 @@
|
||||
# Global tool defintions for buildpkg
|
||||
|
||||
# Define tool programs in rpm style __ prefixed namespace
|
||||
__bash=/usr/tgcware/bin/bash
|
||||
__strip=/usr/bin/strip
|
||||
__uname=/usr/bin/uname
|
||||
__tar=/usr/tgcware/bin/tar # GNU tar v1.14 or better please!
|
||||
|
2
newpkg
2
newpkg
@ -24,7 +24,7 @@ done
|
||||
|
||||
${__cp} $buildpkgscripts/build.sh.generic $arg1/build.sh
|
||||
if [ "$(${__uname} -s)" == "IRIX" -o "$(${__uname} -s)" == "IRIX64" ]; then
|
||||
${__sed} -e 's;bin/bash;usr/tgcware/bin/bash;g' $arg1/build.sh > $arg1/build.sh.tmp
|
||||
${__sed} -e "s;/bin/bash;$__bash;g" $arg1/build.sh > $arg1/build.sh.tmp
|
||||
${__mv} $arg1/build.sh.tmp $arg1/build.sh
|
||||
${__cp} $buildpkgscripts/pkgdef.template.irix $arg1/meta/pkgdef
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user