Browse Source
termux-tools: use default shebang in sources
This will allow build system to set shebang according to the
current TERMUX_PREFIX.
emacs-27
Leonid Plyushch
5 years ago
No known key found for this signature in database
GPG Key ID: 45F2964132545795
7 changed files with
7 additions and
7 deletions
-
packages/termux-tools/login
-
packages/termux-tools/pkg
-
packages/termux-tools/su
-
packages/termux-tools/termux-info
-
packages/termux-tools/termux-open
-
packages/termux-tools/termux-reload-settings
-
packages/termux-tools/termux-setup-storage
|
@ -1,4 +1,4 @@ |
|
|
#!/data/data/com.termux/files/usr/bin/sh |
|
|
#!/bin/sh |
|
|
|
|
|
|
|
|
if [ $# = 0 ] && [ -f $PREFIX/etc/motd ] && [ ! -f ~/.hushlogin ] && [ -z "$TERMUX_HUSHLOGIN" ]; then |
|
|
if [ $# = 0 ] && [ -f $PREFIX/etc/motd ] && [ ! -f ~/.hushlogin ] && [ -z "$TERMUX_HUSHLOGIN" ]; then |
|
|
cat $PREFIX/etc/motd |
|
|
cat $PREFIX/etc/motd |
|
|
|
@ -1,4 +1,4 @@ |
|
|
#!/data/data/com.termux/files/usr/bin/sh |
|
|
#!/bin/sh |
|
|
set -e -u |
|
|
set -e -u |
|
|
|
|
|
|
|
|
show_help() { |
|
|
show_help() { |
|
|
|
@ -1,4 +1,4 @@ |
|
|
#!/data/data/com.termux/files/usr/bin/sh |
|
|
#!/bin/sh |
|
|
|
|
|
|
|
|
unset LD_LIBRARY_PATH LD_PRELOAD |
|
|
unset LD_LIBRARY_PATH LD_PRELOAD |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,4 @@ |
|
|
#!/data/data/com.termux/files/usr/bin/sh |
|
|
#!/bin/sh |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ "$#" != "0" ]; then |
|
|
if [ "$#" != "0" ]; then |
|
|
|
@ -1,4 +1,4 @@ |
|
|
#!/data/data/com.termux/files/usr/bin/sh |
|
|
#!/bin/sh |
|
|
set -e -u |
|
|
set -e -u |
|
|
|
|
|
|
|
|
SCRIPTNAME=termux-open |
|
|
SCRIPTNAME=termux-open |
|
|
|
@ -1,4 +1,4 @@ |
|
|
#!/data/data/com.termux/files/usr/bin/sh |
|
|
#!/bin/sh |
|
|
|
|
|
|
|
|
if [ "$#" != "0" ]; then |
|
|
if [ "$#" != "0" ]; then |
|
|
echo 'usage: termux-reload-settings' |
|
|
echo 'usage: termux-reload-settings' |
|
|
|
@ -1,4 +1,4 @@ |
|
|
#!/data/data/com.termux/files/usr/bin/sh |
|
|
#!/bin/sh |
|
|
|
|
|
|
|
|
if [ "$#" != "0" ]; then |
|
|
if [ "$#" != "0" ]; then |
|
|
echo 'usage: termux-setup-storage' |
|
|
echo 'usage: termux-setup-storage' |
|
|