Fix set command
This commit is contained in:
parent
d7cab13826
commit
884d08af5d
4
build.sh
4
build.sh
@ -1,5 +1,5 @@
|
|||||||
#!/data/data/com.termux/files/usr/bin/bash
|
#!/data/data/com.termux/files/usr/bin/bash
|
||||||
set -xx
|
set -ex
|
||||||
apt update
|
apt update
|
||||||
apt -y install make clang openssl-dev perl tsu wget git python python-dev gnupg dirmngr curl autoconf automake sed gettext gzip pkg-config libcrypt-dev
|
apt -y install make clang openssl-dev perl tsu wget git python python-dev gnupg dirmngr curl autoconf automake sed gettext gzip pkg-config libcrypt-dev
|
||||||
|
|
||||||
@ -38,10 +38,12 @@ wget https://download.savannah.gnu.org/releases/attr/attr-2.4.47.src.tar.gz.sig
|
|||||||
gpg2 attr-2.4.47.src.tar.gz.sig
|
gpg2 attr-2.4.47.src.tar.gz.sig
|
||||||
tar -xf attr-2.4.47.src.tar.gz
|
tar -xf attr-2.4.47.src.tar.gz
|
||||||
cd attr-2.4.47
|
cd attr-2.4.47
|
||||||
|
|
||||||
#fixing paths to sh
|
#fixing paths to sh
|
||||||
sed -i "s/\/bin\/sh/\/data\/data\/com.termux\/files\/usr\/bin\/sh/" configure
|
sed -i "s/\/bin\/sh/\/data\/data\/com.termux\/files\/usr\/bin\/sh/" configure
|
||||||
sed -i "s/\/bin\/sh/\/data\/data\/com.termux\/files\/usr\/bin\/sh/" install-sh
|
sed -i "s/\/bin\/sh/\/data\/data\/com.termux\/files\/usr\/bin\/sh/" install-sh
|
||||||
sed -i "s/\/bin\/sh/\/data\/data\/com.termux\/files\/usr\/bin\/sh/" include/install-sh
|
sed -i "s/\/bin\/sh/\/data\/data\/com.termux\/files\/usr\/bin\/sh/" include/install-sh
|
||||||
|
|
||||||
#fix for non-existent /tmp directory in set_cc_for_build of config.guess for 32-bit arm
|
#fix for non-existent /tmp directory in set_cc_for_build of config.guess for 32-bit arm
|
||||||
sed -i "s/TMPDIR=\/tmp/TMPDIR=tmp/g" config.guess
|
sed -i "s/TMPDIR=\/tmp/TMPDIR=tmp/g" config.guess
|
||||||
mkdir tmp
|
mkdir tmp
|
||||||
|
Loading…
Reference in New Issue
Block a user