Add upload script

This commit is contained in:
Maurizio Porrato 2014-12-21 18:10:51 +00:00
parent 005b6e7349
commit f0781b959a
1 changed files with 14 additions and 0 deletions

14
upload.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
PKGDIR=${1:-.}
if [ -e "$PKGDIR/PKGBUILD" ] ; then
olddir="$PWD"
cd "$PKGDIR"
mkaurball -e
burp *.src.tar.*
cd "$olddir"
else
echo "ERROR: $PKGDIR does not contain a PKGBUILD"
fi