diff options
Diffstat (limited to 'scripts/include.sh/build-dep.sh')
-rwxr-xr-x | scripts/include.sh/build-dep.sh | 7 |
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" |