added #!/bin/bash instead #!/bin/sh
This commit is contained in:
+9
-6
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user