Browse Source

play-audio: use 'quoted dollar at' ("$@") for args

android-5
Francisco Demartino 9 years ago
parent
commit
8a1912b9e5
  1. 2
      packages/play-audio/build.sh

2
packages/play-audio/build.sh

@ -9,7 +9,7 @@ termux_step_make_install () {
-lOpenSLES \ -lOpenSLES \
$TERMUX_PKG_BUILDER_DIR/play-audio.cpp -o $LIBEXEC_BINARY $TERMUX_PKG_BUILDER_DIR/play-audio.cpp -o $LIBEXEC_BINARY
printf "#!/bin/sh\n\n# Avoid linker errors due to libOpenSLES.so:\nLD_LIBRARY_PATH= exec $LIBEXEC_BINARY \$@\n" > $TERMUX_PREFIX/bin/play-audio printf "#!/bin/sh\n\n# Avoid linker errors due to libOpenSLES.so:\nLD_LIBRARY_PATH= exec $LIBEXEC_BINARY \"\$@\"\n" > $TERMUX_PREFIX/bin/play-audio
chmod +x $TERMUX_PREFIX/bin/play-audio chmod +x $TERMUX_PREFIX/bin/play-audio
mkdir -p $TERMUX_PREFIX/share/man/man1/ mkdir -p $TERMUX_PREFIX/share/man/man1/

Loading…
Cancel
Save