- fix linux scripts

This commit is contained in:
SoftCoder
2014-01-24 18:32:42 -08:00
parent 0d8b3d6c63
commit ea6d208947
2 changed files with 2 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ cp start_megaglest_gameserver "$RELEASEDIR/"
echo "creating $PACKAGE" echo "creating $PACKAGE"
cd $CURRENTDIR cd $CURRENTDIR
[[ -f "${RELEASEDIR_ROOT}/$PACKAGE" ]] && rm "${RELEASEDIR_ROOT}/$PACKAGE" [[ -f "${RELEASEDIR_ROOT}/$PACKAGE" ]] && rm "${RELEASEDIR_ROOT}/$PACKAGE"
cd ${RELEASEDIR_ROOT}/$RELEASENAME-$VERSION/ cd $RELEASEDIR
tar -cf - * | xz > ../$PACKAGE tar -cf - * | xz > ../$PACKAGE
cd $CURRENTDIR cd $CURRENTDIR

View File

@@ -69,7 +69,7 @@ git archive --remote ${REPODIR} HEAD:source/masterserver/flags | tar x
cd "$CURRENTDIR" cd "$CURRENTDIR"
echo "creating data archive: $PACKAGE" echo "creating data archive: $PACKAGE"
[[ -f "${RELEASEDIR_ROOT}/$PACKAGE" ]] && rm "${RELEASEDIR_ROOT}/$PACKAGE" [[ -f "${RELEASEDIR_ROOT}/$PACKAGE" ]] && rm "${RELEASEDIR_ROOT}/$PACKAGE"
cd ${RELEASEDIR_ROOT}/$RELEASENAME-$VERSION cd $RELEASEDIR
tar -cf - * | xz > ../$PACKAGE tar -cf - * | xz > ../$PACKAGE
cd $CURRENTDIR cd $CURRENTDIR