Skip to content

Commit b44af63

Browse files
committed
Strip unneeded stuff from final package
1 parent 6ed4a87 commit b44af63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package-avrdude.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,14 @@ if [[ ${OUTPUT_TAG} == *"mingw"* ]] ; then
9292
cp libusb-win32-bin-1.2.6.0/bin/x86/libusb0_x86.dll objdir/bin/libusb0.dll
9393
rm -f avrdude-${OUTPUT_VERSION}-${OUTPUT_TAG}.zip
9494
cp -a objdir avrdude
95-
zip -r avrdude-${OUTPUT_VERSION}-${OUTPUT_TAG}.zip avrdude
95+
zip -r avrdude-${OUTPUT_VERSION}-${OUTPUT_TAG}.zip avrdude/bin/ avrdude/etc/avrdude.conf
9696
rm -r avrdude
9797

9898
else
9999

100100
rm -f avrdude-${OUTPUT_VERSION}-${OUTPUT_TAG}.tar.bz2
101101
cp -a objdir avrdude
102-
tar -cjvf avrdude-${OUTPUT_VERSION}-${OUTPUT_TAG}.tar.bz2 avrdude
102+
tar -cjvf avrdude-${OUTPUT_VERSION}-${OUTPUT_TAG}.tar.bz2 avrdude/bin/avrdude avrdude/etc/avrdude.conf
103103
rm -r avrdude
104104

105105
fi

0 commit comments

Comments
 (0)