4 # Builds a source tarball suitable for the application release RPM.
7 DIRNAME
="$(grep "^Source
:" barry.spec | sed "s
/^Source
: *//;s
/.
tar.
*$
//")"
9 echo "Building tarball for: $DIRNAME"
10 echo "Press ENTER to continue..."
15 cp ..
/tools
/bcharge.cc \
16 ..
/udev
/10-blackberry.rules \
20 tar czf
"$DIRNAME.tar.gz" "$DIRNAME"