File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
prerequisites/build-functions Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ unpack_if_necessary()
5
5
if [[ " ${fetch} " == " svn" || " ${fetch} " == " git" ]]; then
6
6
package_source_directory=" ${version_to_build} "
7
7
else
8
- if [[ ${url_tail} == " *tar.gz" || ${url_tail} == " *tar.bz2" || ${url_tail} == " *.tar.xz" ]]; then
8
+ if [[ " ${url_tail} " == * tar.gz || " ${url_tail} " == * tar.bz2 || " ${url_tail} " == * .tar.xz ]]; then
9
9
info " Unpacking ${url_tail} ."
10
10
info " pushd ${download_path} "
11
11
pushd " ${download_path} "
@@ -14,7 +14,7 @@ unpack_if_necessary()
14
14
info " popd"
15
15
popd
16
16
else
17
- info " Skipping unpacking because ${url_tail} is not a compressed archive (*. gz, *. bz2, or *.xz ). "
17
+ info " Skipping unpacking because ${url_tail} is not a compressed archive (matching one of *.tar.{ gz,bz2,xz} ). "
18
18
fi
19
19
# shellcheck disable=SC2034
20
20
package_source_directory=" ${package_name} -${version_to_build} "
You can’t perform that action at this time.
0 commit comments