Explorar el Código

vcmibuilder: fix data dir not found on GoG extract

Konstantin hace 3 años
padre
commit
988374444c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      vcmibuilder

+ 1 - 0
vcmibuilder

@@ -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