Modify scripts so they install antlr wrapper with mode 755

This commit is contained in:
ejurgensen 2015-03-18 20:38:01 +01:00
parent 34d815a130
commit 832fc95a22
2 changed files with 3 additions and 3 deletions

View File

@ -41,5 +41,5 @@ export CLASSPATH
CLASSPATH=\$CLASSPATH:$PREFIX/share/java/antlr-3.4-complete.jar:$PREFIX/share/java CLASSPATH=\$CLASSPATH:$PREFIX/share/java/antlr-3.4-complete.jar:$PREFIX/share/java
/usr/bin/java org.antlr.Tool \$* /usr/bin/java org.antlr.Tool \$*
" > antlr3 " > antlr3
sudo install antlr3 "$PREFIX/bin" sudo install --mode=755 antlr3 "$PREFIX/bin"

View File

@ -61,7 +61,7 @@ export CLASSPATH
CLASSPATH=\$CLASSPATH:/usr/local/share/java/antlr-3.4-complete.jar:/usr/local/share/java CLASSPATH=\$CLASSPATH:/usr/local/share/java/antlr-3.4-complete.jar:/usr/local/share/java
/usr/local/bin/java org.antlr.Tool \$* /usr/local/bin/java org.antlr.Tool \$*
" > antlr3 " > antlr3
sudo install antlr3 /usr/local/bin sudo install --mode=755 antlr3 /usr/local/bin
tar xzf libantlr3c-3.4.tar.gz tar xzf libantlr3c-3.4.tar.gz
cd libantlr3c-3.4 cd libantlr3c-3.4
@ -106,7 +106,7 @@ if [ "$yn" = "y" ]; then
echo "Could not find FreeBSD startup script" echo "Could not find FreeBSD startup script"
exit exit
fi fi
sudo install scripts/freebsd_start_10.1.sh /usr/local/etc/rc.d/forked-daapd sudo install --mode=755 scripts/freebsd_start_10.1.sh /usr/local/etc/rc.d/forked-daapd
service forked-daapd enabled service forked-daapd enabled
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then