added #!/bin/bash instead #!/bin/sh

This commit is contained in:
wt
2025-03-01 22:07:33 +07:00
parent 91b7d9341d
commit dd41d6fe02
21 changed files with 91 additions and 76 deletions
+9 -6
View File
@@ -1,16 +1,19 @@
#!/bin/sh
#!/bin/bash
. ./scripts/colors.sh
. ./scripts/funcs.sh
. ./scripts/config.sh
pkgname=bash
pkgver=5.2.32
bash() {
printf "$GREEN** Building and installing bash\n$RESET"
mkdir $build/bash
cd $build/bash
tar -xvf $root/downloads/bash-5.2.32.tar.gz
check $? "Extract bash"
cd bash-5.2.32
mkdir $build/${pkgname}
cd $build/${pkgname}
tar -xvf $root/downloads/${pkgname}-${pkgver}.tar.gz
check $? "Extract ${pkgname}"
cd ${pkgname}-${pkgver}
./configure \
--prefix=/usr \
--disable-readline \