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

vcmibuilder: fix data dir not found on GoG extract

This commit is contained in:
Konstantin 2022-04-28 02:17:41 +03:00 committed by Andrii Danylchenko
parent 56a1984aa8
commit 988374444c

View File

@ -182,6 +182,7 @@ then
# 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")"
mkdir -p "$data_dir"
cd "$data_dir" && innoextract "$gog_file"
fi