Skip to content

Commit e6c4d59

Browse files
committed
only add actual binary to tarball
1 parent 6cd7f74 commit e6c4d59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package-openocd.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ OUTPUT_TAG=`$CROSS_COMPILER -v 2>&1 | awk '/Target/ { print $2 }'`
3030

3131
cd distrib
3232
if [[ $CROSS_COMPILE == *mingw* ]] ; then
33-
zip -r ../openocd-${OUTPUT_VERSION}-${OUTPUT_TAG}.zip *
33+
zip -r ../openocd-${OUTPUT_VERSION}-${OUTPUT_TAG}.zip ${OUTPUT_TAG}
3434
else
35-
tar -cjvf ../openocd-${OUTPUT_VERSION}-${OUTPUT_TAG}.tar.bz2 *
35+
tar -cjvf ../openocd-${OUTPUT_VERSION}-${OUTPUT_TAG}.tar.bz2 ${OUTPUT_TAG}
3636
fi
3737
cd -

0 commit comments

Comments
 (0)