mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +00:00
add statement about extract starting.
This commit is contained in:
@@ -130,12 +130,13 @@ name=$(echo "$release_json" | python -c "$pycode" name $gamversion)
|
|||||||
# Temp dir for archive
|
# Temp dir for archive
|
||||||
temp_archive_dir=$(mktemp -d)
|
temp_archive_dir=$(mktemp -d)
|
||||||
|
|
||||||
echo_yellow "Downloading file $name from $browser_download_url to $temp_archive_dir"
|
echo_yellow "Downloading file $name from $browser_download_url to $temp_archive_dir."
|
||||||
# Save archive to temp w/o losing our path
|
# Save archive to temp w/o losing our path
|
||||||
(cd $temp_archive_dir && curl -O -L $browser_download_url)
|
(cd $temp_archive_dir && curl -O -L $browser_download_url)
|
||||||
|
|
||||||
mkdir -p $target_dir
|
mkdir -p $target_dir
|
||||||
|
|
||||||
|
echo_yellow "Extracting archive to $target_dir"
|
||||||
tar xf $temp_archive_dir/$name -C $target_dir
|
tar xf $temp_archive_dir/$name -C $target_dir
|
||||||
rc=$?
|
rc=$?
|
||||||
if (( $rc != 0 )); then
|
if (( $rc != 0 )); then
|
||||||
|
|||||||
Reference in New Issue
Block a user