diff --git a/packages/termux-tools/build.sh b/packages/termux-tools/build.sh index 11fef41a5..402083305 100644 --- a/packages/termux-tools/build.sh +++ b/packages/termux-tools/build.sh @@ -1,6 +1,6 @@ TERMUX_PKG_HOMEPAGE=http://termux.com/ TERMUX_PKG_DESCRIPTION="Some tools for Termux" -TERMUX_PKG_VERSION=0.15 +TERMUX_PKG_VERSION=0.16 termux_step_make_install () { $CXX $CFLAGS $LDFLAGS -std=c++14 -Wall -Wextra -pedantic -Werror $TERMUX_PKG_BUILDER_DIR/*.cpp -o $TERMUX_PREFIX/bin/termux-elf-cleaner diff --git a/packages/termux-tools/termux-fix-shebang b/packages/termux-tools/termux-fix-shebang index 76b75d422..1ac56c2c8 100755 --- a/packages/termux-tools/termux-fix-shebang +++ b/packages/termux-tools/termux-fix-shebang @@ -9,5 +9,5 @@ fi for file in $@; do # Do realpath to avoid breaking symlinks (modify original file): - sed -i -E "s@^#\!(.*)/bin/(.*)@#\!/data/data/com.termux/files/usr/bin/\2@" `realpath $@` + sed -i -E "1 s@^#\!(.*)/bin/(.*)@#\!/data/data/com.termux/files/usr/bin/\2@" `realpath $@` done