1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

Merge pull request #648 from LibertyPaul/develop

Fixed tmp resources destination
This commit is contained in:
Alexander Shishkin 2020-09-21 21:09:35 +03:00 committed by GitHub
commit d13834fed2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -177,12 +177,12 @@ mkdir -p "$temp_dir"
if [[ -n "$gog_file" ]]
then
data_dir="$temp_dir"/app
# innoextract always reports error (iconv 84 error). Just test file for presence
test -f "$gog_file" || fail "Error: gog.com executable was not found!"
gog_file="$(cd "$(dirname "$gog_file")"; pwd)/$(basename "$gog_file")"
cd "$temp_dir" && innoextract "$gog_file"
data_dir="$temp_dir"/app
cd "$data_dir" && innoextract "$gog_file"
fi
if [[ -n "$cd1_dir" ]]