From ea6d2089479449dc288c6ce90ab402b83995f4a9 Mon Sep 17 00:00:00 2001 From: SoftCoder Date: Fri, 24 Jan 2014 18:32:42 -0800 Subject: [PATCH] - fix linux scripts --- mk/linux/make-binary-archive.sh | 2 +- mk/linux/make-data-archive.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mk/linux/make-binary-archive.sh b/mk/linux/make-binary-archive.sh index 4558182ea..5a4974a2e 100755 --- a/mk/linux/make-binary-archive.sh +++ b/mk/linux/make-binary-archive.sh @@ -70,7 +70,7 @@ cp start_megaglest_gameserver "$RELEASEDIR/" echo "creating $PACKAGE" cd $CURRENTDIR [[ -f "${RELEASEDIR_ROOT}/$PACKAGE" ]] && rm "${RELEASEDIR_ROOT}/$PACKAGE" -cd ${RELEASEDIR_ROOT}/$RELEASENAME-$VERSION/ +cd $RELEASEDIR tar -cf - * | xz > ../$PACKAGE cd $CURRENTDIR diff --git a/mk/linux/make-data-archive.sh b/mk/linux/make-data-archive.sh index a0c5ddc8b..405619a2a 100755 --- a/mk/linux/make-data-archive.sh +++ b/mk/linux/make-data-archive.sh @@ -69,7 +69,7 @@ git archive --remote ${REPODIR} HEAD:source/masterserver/flags | tar x cd "$CURRENTDIR" echo "creating data archive: $PACKAGE" [[ -f "${RELEASEDIR_ROOT}/$PACKAGE" ]] && rm "${RELEASEDIR_ROOT}/$PACKAGE" -cd ${RELEASEDIR_ROOT}/$RELEASENAME-$VERSION +cd $RELEASEDIR tar -cf - * | xz > ../$PACKAGE cd $CURRENTDIR