소스 검색

mingw: Use new LABEL variable to identify the build

Tatsuhiro Tsujikawa 13 년 전
부모
커밋
7c937ae9dd
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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