Browse Source

mingw: Use new LABEL variable to identify the build

Tatsuhiro Tsujikawa 13 năm trước cách đây
mục cha
commit
7c937ae9dd
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      mingw-release

+ 2 - 1
mingw-release

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