summaryrefslogtreecommitdiff
path: root/xibuild/build_package.sh
diff options
context:
space:
mode:
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;