aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2015-01-03 23:10:15 -0800
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2015-01-03 23:10:24 -0800
commitda10b9124b52e34ac49edd1120bc04926e0a44e6 (patch)
treee0b788d613d7cac4408a983dfedd55721fbdc187 /scripts
parenta54deab9ad377fb36b21ec1fd67a67cb71824ea9 (diff)
Refactoring, fixed #1013
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/include.sh/build-dep.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/include.sh/build-dep.sh b/scripts/include.sh/build-dep.sh
index c167c548..ad66be7e 100755
--- a/scripts/include.sh/build-dep.sh
+++ b/scripts/include.sh/build-dep.sh
@@ -331,7 +331,12 @@ get_prebuilt_dep()
curl -O "$url/$name/$name-$version.zip"
unzip -q "$name-$version.zip"
rm -rf "$scriptpath/../Externals/$name"
- mv "$name-$version"/* "$scriptpath/../Externals"
+ cd "$name-$version"
+ for folder in * ; do
+ rm -rf "$scriptpath/../Externals/$folder"
+ mv "$folder" "$scriptpath/../Externals"
+ done
+ cd ..
rm -f "$scriptpath/../Externals/git-rev"
rm -rf "$tempbuilddir"