Double quoting variables
This commit is contained in:
parent
ff6cdbf913
commit
c460a9f058
1 changed files with 2 additions and 2 deletions
4
build.sh
4
build.sh
|
@ -31,7 +31,7 @@ apt-get update && apt-get install -y lsb-release
|
||||||
|
|
||||||
dist="$(lsb_release -i -s)"
|
dist="$(lsb_release -i -s)"
|
||||||
|
|
||||||
if [ $dist == "Debian" ]; then
|
if [ "$dist" == "Debian" ]; then
|
||||||
apt-get install -y binutils patch zstd live-build
|
apt-get install -y binutils patch zstd live-build
|
||||||
dpkg -i ./debs/ubuntu-keyring*.deb
|
dpkg -i ./debs/ubuntu-keyring*.deb
|
||||||
else
|
else
|
||||||
|
@ -59,7 +59,7 @@ build () {
|
||||||
BUILD_ARCH="$1"
|
BUILD_ARCH="$1"
|
||||||
|
|
||||||
if [ -d "$TMP_DIR" ]; then
|
if [ -d "$TMP_DIR" ]; then
|
||||||
rm -rf $TMP_DIR
|
rm -rf "$TMP_DIR"
|
||||||
mkdir -p "$TMP_DIR/$BUILD_ARCH"
|
mkdir -p "$TMP_DIR/$BUILD_ARCH"
|
||||||
else
|
else
|
||||||
mkdir -p "$TMP_DIR/$BUILD_ARCH"
|
mkdir -p "$TMP_DIR/$BUILD_ARCH"
|
||||||
|
|
Loading…
Add table
Reference in a new issue