From cd83eaf6692ae1ab6b59754ce85a670eaace3fda Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Fri, 14 Aug 2015 14:42:04 -0400 Subject: [PATCH] build-package.sh: Create $PREFIX/libexec --- build-package.sh | 2 +- packages/termux-api/termux-send-text | 19 ------------------- 2 files changed, 1 insertion(+), 20 deletions(-) delete mode 100755 packages/termux-api/termux-send-text diff --git a/build-package.sh b/build-package.sh index 6ea6eefab..d950d678d 100755 --- a/build-package.sh +++ b/build-package.sh @@ -183,7 +183,7 @@ TERMUX_PKG_MAINTAINER="Fredrik Fornwall " # Cleanup old state rm -Rf $TERMUX_PKG_BUILDDIR $TERMUX_PKG_PACKAGEDIR $TERMUX_PKG_SRCDIR $TERMUX_PKG_TMPDIR $TERMUX_PKG_MASSAGEDIR # Ensure folders present (but not $TERMUX_PKG_SRCDIR, it will be created in build) -mkdir -p $TERMUX_PKG_BUILDDIR $TERMUX_PKG_PACKAGEDIR $TERMUX_PKG_TMPDIR $TERMUX_PKG_CACHEDIR $TERMUX_PKG_MASSAGEDIR $PKG_CONFIG_LIBDIR $TERMUX_PREFIX/{bin,etc,lib,share,tmp} +mkdir -p $TERMUX_PKG_BUILDDIR $TERMUX_PKG_PACKAGEDIR $TERMUX_PKG_TMPDIR $TERMUX_PKG_CACHEDIR $TERMUX_PKG_MASSAGEDIR $PKG_CONFIG_LIBDIR $TERMUX_PREFIX/{bin,etc,lib,libexec,share,tmp} # If $TERMUX_PREFIX already exists, it may have been built for a different arch TERMUX_ARCH_FILE=/data/TERMUX_ARCH diff --git a/packages/termux-api/termux-send-text b/packages/termux-api/termux-send-text deleted file mode 100755 index 3faaeb0ec..000000000 --- a/packages/termux-api/termux-send-text +++ /dev/null @@ -1,19 +0,0 @@ -#!/system/bin/sh - -if [ "$1" = "-h" -o "$1" = "--help" ]; then - echo "Usage: termux-send-text [TEXT]" - echo "Send text to the Android system as arguments or standard input" - exit -fi - -DATA="$@" -if [ -z "$DATA" ]; then - DATA="`cat -`" -fi - -unset LD_LIBRARY_PATH -am start --user 0 \ - -a android.intent.action.SEND \ - -t "text/plain" \ - --es android.intent.extra.TEXT "$DATA" \ - > /dev/null