mirror of https://github.com/aria2/aria2
mingw: Use new LABEL variable to identify the build
parent
e2bf627b17
commit
7c937ae9dd
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue