mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Fixed tmp resources destination
This commit is contained in:
@@ -177,12 +177,12 @@ mkdir -p "$temp_dir"
|
|||||||
|
|
||||||
if [[ -n "$gog_file" ]]
|
if [[ -n "$gog_file" ]]
|
||||||
then
|
then
|
||||||
|
data_dir="$temp_dir"/app
|
||||||
|
|
||||||
# innoextract always reports error (iconv 84 error). Just test file for presence
|
# innoextract always reports error (iconv 84 error). Just test file for presence
|
||||||
test -f "$gog_file" || fail "Error: gog.com executable was not found!"
|
test -f "$gog_file" || fail "Error: gog.com executable was not found!"
|
||||||
gog_file="$(cd "$(dirname "$gog_file")"; pwd)/$(basename "$gog_file")"
|
gog_file="$(cd "$(dirname "$gog_file")"; pwd)/$(basename "$gog_file")"
|
||||||
cd "$temp_dir" && innoextract "$gog_file"
|
cd "$data_dir" && innoextract "$gog_file"
|
||||||
|
|
||||||
data_dir="$temp_dir"/app
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -n "$cd1_dir" ]]
|
if [[ -n "$cd1_dir" ]]
|
||||||
|
Reference in New Issue
Block a user