fixed wrapper script

Signed-off-by: Gwenhael Le moine <gwenhael.le.moine@gmail.com>
This commit is contained in:
Gwenhael Le moine 2009-11-13 18:45:59 +07:00
parent 172f7f5eb0
commit 65f3124a79

View file

@ -31,7 +31,7 @@ mkdir -p $PKG$PREFIX/libexec/$PRGNAM-$VERSION
mkdir -p $PKG$PREFIX/{bin,doc/$PRGNAM-$VERSION} mkdir -p $PKG$PREFIX/{bin,doc/$PRGNAM-$VERSION}
cat <<EOF > $PKG$PREFIX/bin/$PRGNAM cat <<EOF > $PKG$PREFIX/bin/$PRGNAM
#!/bin/sh #!/bin/sh
java -cp $PREFIX/libexec/$PRGNAM-$VERSION/clojure.jar $@ java -jar $PREFIX/libexec/$PRGNAM-$VERSION/clojure.jar $@
EOF EOF
chmod +x $PKG$PREFIX/bin/$PRGNAM chmod +x $PKG$PREFIX/bin/$PRGNAM
( cd $PKG$PREFIX/libexec/$PRGNAM-$VERSION ( cd $PKG$PREFIX/libexec/$PRGNAM-$VERSION