fix $PREFIX/bin/factor

This commit is contained in:
Gwenhael Le Moine 2010-09-09 09:10:46 +07:00
parent af9733bae2
commit 1854703e89

View file

@ -26,8 +26,8 @@ mkdir -p $PKG$PREFIX/libexec/
mkdir -p $PKG$PREFIX/{bin,doc/$PRGNAM-$VERSION}
cat <<EOF > $PKG$PREFIX/bin/$PRGNAM
#!/bin/sh
cd $PREFIX/libexec/$PRGNAM-$VERSION
./$PRGNAM $@
cd $PREFIX/libexec/$PRGNAM
./$PRGNAM \$@
EOF
chmod +x $PKG$PREFIX/bin/$PRGNAM
( cd $PKG$PREFIX/doc/$PRGNAM-$VERSION