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
parent
commit
68101269a9
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 2
      packages/termux-tools/login
  2. 2
      packages/termux-tools/pkg
  3. 2
      packages/termux-tools/su
  4. 2
      packages/termux-tools/termux-info
  5. 2
      packages/termux-tools/termux-open
  6. 2
      packages/termux-tools/termux-reload-settings
  7. 2
      packages/termux-tools/termux-setup-storage

2
packages/termux-tools/login

@ -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
cat $PREFIX/etc/motd

2
packages/termux-tools/pkg

@ -1,4 +1,4 @@
#!/data/data/com.termux/files/usr/bin/sh
#!/bin/sh
set -e -u
show_help() {

2
packages/termux-tools/su

@ -1,4 +1,4 @@
#!/data/data/com.termux/files/usr/bin/sh
#!/bin/sh
unset LD_LIBRARY_PATH LD_PRELOAD

2
packages/termux-tools/termux-info

@ -1,4 +1,4 @@
#!/data/data/com.termux/files/usr/bin/sh
#!/bin/sh
if [ "$#" != "0" ]; then

2
packages/termux-tools/termux-open

@ -1,4 +1,4 @@
#!/data/data/com.termux/files/usr/bin/sh
#!/bin/sh
set -e -u
SCRIPTNAME=termux-open

2
packages/termux-tools/termux-reload-settings

@ -1,4 +1,4 @@
#!/data/data/com.termux/files/usr/bin/sh
#!/bin/sh
if [ "$#" != "0" ]; then
echo 'usage: termux-reload-settings'

2
packages/termux-tools/termux-setup-storage

@ -1,4 +1,4 @@
#!/data/data/com.termux/files/usr/bin/sh
#!/bin/sh
if [ "$#" != "0" ]; then
echo 'usage: termux-setup-storage'

Loading…
Cancel
Save