diff --git a/vcmibuilder b/vcmibuilder index dee7a0b24..af4df023a 100755 --- a/vcmibuilder +++ b/vcmibuilder @@ -178,11 +178,11 @@ mkdir -p "$temp_dir" if [[ -n "$gog_file" ]] then data_dir="$temp_dir"/app + mkdir -p "$data_dir" # 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