File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ for SUBDIR in $BUILD_DIRS; do
155
155
if ! ($bIncrementalBuild ) ; then
156
156
make -C $SUBDIR spotless >> $LOGFILE 2>&1
157
157
fi
158
-
158
+
159
159
# make 64 bit
160
160
echo " Build ${BASENAME} , 64-bit..." | tee -a $LOGFILE
161
161
@@ -199,9 +199,10 @@ done
199
199
200
200
if $bZip ; then
201
201
echo " Generate tarball..." | tee -a $LOGFILE
202
+ ZIP_DIR_NAME=${VER_MAJOR} _${VER_MINOR}
202
203
cd $BUILD_DIR
203
- mkdir GPUPerfAPI- $VER -lnx
204
- cd GPUPerfAPI- $VER -lnx
204
+ mkdir $ZIP_DIR_NAME
205
+ cd $ZIP_DIR_NAME
205
206
mkdir Bin
206
207
mkdir Bin/Linx64
207
208
mkdir Bin/Linx86
@@ -220,7 +221,7 @@ if $bZip ; then
220
221
cp ../../../LICENSE .
221
222
cp ../../../Doc/thirdpartylicenses.txt .
222
223
cd ..
223
- tar cvzf GPUPerfAPI.$VER -lnx.tgz GPUPerfAPI- $VER -lnx /
224
+ tar cvzf GPUPerfAPI.$VER -lnx.tgz $ZIP_DIR_NAME /
224
225
225
226
# -----------------------------------------
226
227
# copy to bin-Internal folder
@@ -258,7 +259,7 @@ if $bZip ; then
258
259
cp ../../../Src/GPUPerfAPICounterGenerator/GPAICounterAccessor.h ./Include/
259
260
cp ../../../Src/GPUPerfAPICounterGenerator/GPAICounterScheduler.h ./Include/
260
261
cd ..
261
- tar cvzf GPUPerfAPI.$VER -lnx-Promotion.tgz GPUPerfAPI- $VER -lnx /
262
+ tar cvzf GPUPerfAPI.$VER -lnx-Promotion.tgz $ZIP_DIR_NAME /
262
263
fi
263
264
fi
264
265
You can’t perform that action at this time.
0 commit comments