mingw: Use new LABEL variable to identify the build

pull/28/head
Tatsuhiro Tsujikawa 2012-09-02 18:03:01 +09:00
parent e2bf627b17
commit 7c937ae9dd
1 changed files with 2 additions and 1 deletions

View File

@ -33,6 +33,7 @@
test -z "$HOST" && HOST=i686-w64-mingw32 test -z "$HOST" && HOST=i686-w64-mingw32
test -z "$BUILD_VER" && BUILD_VER=1 test -z "$BUILD_VER" && BUILD_VER=1
test -z "$LABEL" && LABEL=$HOST
. ./script-helper . ./script-helper
@ -43,7 +44,7 @@ if [ -z "$VERSION" ]; then
exit 1 exit 1
fi fi
DIST_DIR=aria2-${VERSION}-${HOST}-build${BUILD_VER} DIST_DIR=aria2-${VERSION}-${LABEL}-build${BUILD_VER}
/usr/bin/$HOST-strip src/aria2c.exe /usr/bin/$HOST-strip src/aria2c.exe
mkdir $DIST_DIR mkdir $DIST_DIR