summaryrefslogtreecommitdiff
path: root/xibuild/build_package.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-04-17 21:49:01 +0100
committerdavidovski <david@davidovski.xyz>2022-04-17 21:49:01 +0100
commitd5022ffb57247496d9190c6fcba94d74ed3e6fd2 (patch)
tree6aee11b6def01659ba92ecde275fb071bad3eef7 /xibuild/build_package.sh
parentf3eb890b34d7e50727db601e357049a8848fc5ad (diff)
fixed bootstrap links
Diffstat (limited to 'xibuild/build_package.sh')
-rwxr-xr-xxibuild/build_package.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/xibuild/build_package.sh b/xibuild/build_package.sh
index e09aecd..b430738 100755
--- a/xibuild/build_package.sh
+++ b/xibuild/build_package.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
GREEN="\033[0;32m"
BLUE="\033[0;34m"
@@ -70,7 +70,7 @@ fetch_source () {
extract $downloaded_file
# if the extracted file only had one directory
- if [ "$(ls -l | wc -l)" = "3" ]; then
+ if [ "$(ls -1 | wc -l)" = "2" ]; then
for file in */* */.*; do
echo $file | grep -q '\.$' || mv $file .
done;