about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCharadon <dev@iotib.net>2022-10-04 13:12:53 -0400
committerCharadon <dev@iotib.net>2022-10-04 13:12:53 -0400
commit787db008715a4e4737f71f682cde2bd595edbe4f (patch)
treed5601520748ff0276f740bd14625cfa3fc9e54b2
parentef492203af565b04a4b7d1b8bcda1aed0642ba9e (diff)
downloadPong-C-787db008715a4e4737f71f682cde2bd595edbe4f.tar.gz
distribute.sh: Fixed output location of windows artifacts.
-rwxr-xr-xdistribute.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/distribute.sh b/distribute.sh
index a4f63d9..4c1b05d 100755
--- a/distribute.sh
+++ b/distribute.sh
@@ -80,9 +80,9 @@ then
 	SEVENZIP="$(which 7z)" || SEVENZIP="/c/Program Files/7-Zip/7z.exe"
 	if [ -f "$SEVENZIP" ];
 	then # Try to use 7z's self extracting feature if possible.
-		"$SEVENZIP" a -sfx7z.sfx "$ARCHIVE_NAME".exe -- *
+		"$SEVENZIP" a -sfx7z.sfx ../"$ARCHIVE_NAME".exe -- *
 	else # If not, just create a standard zip file.
-		zip -9 -r "$ARCHIVE_NAME".zip -- *
+		zip -9 -r ../"$ARCHIVE_NAME".zip -- *
 	fi
 	exit 0
 else