Skip to content
Snippets Groups Projects
Commit dc6c100d authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

BUG: fix superbuild package script to support ftp

parent 39ccb498
No related branches found
No related tags found
No related merge requests found
...@@ -46,8 +46,8 @@ else ...@@ -46,8 +46,8 @@ else
VERSION="develop" VERSION="develop"
fi fi
CMAKE_FILES=$(find $SB_CMAKE_DIR -maxdepth 1 -type f -name "External_*") CMAKE_FILES=$(find $SB_CMAKE_DIR -maxdepth 1 -type f -name "External_*")
DOWNLOAD_LIST=$(grep -h -E '^[^#]*\"https?://.*(\.tar\.gz|\.tar\.bz2|\.tgz|\.tar\.xz|\.zip|export=download).*\"' ${CMAKE_FILES} | DOWNLOAD_LIST=$(grep -h -E '^[^#]*\"(ftp|http|https)://.*(\.tar\.gz|\.tar\.bz2|\.tgz|\.tar\.xz|\.zip|export=download).*\"' ${CMAKE_FILES} |
grep -o -E 'https?://[^\"]*' | sort | uniq) grep -o -E '(ftp|http|https)://[^\"]*' | sort | uniq)
DOWNLOAD_NAMES= DOWNLOAD_NAMES=
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment