summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-12-06 17:53:22 +0100
committerFlorian Pritz <bluewind@xinu.at>2013-12-06 17:53:22 +0100
commit5eee1cc0fbc2ca352655092568f87ef9ef514d43 (patch)
tree0c6cb52f872ecce7a5b651269d9e3e461274b0fa
parentd9dc55a69e315a10eb24e48c866232f9d00a01b3 (diff)
downloadbin-5eee1cc0fbc2ca352655092568f87ef9ef514d43.tar.gz
bin-5eee1cc0fbc2ca352655092568f87ef9ef514d43.tar.xz
add svnrm; verify sources in upgpkg
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xsvnrm3
-rwxr-xr-xupgpkg2
2 files changed, 5 insertions, 0 deletions
diff --git a/svnrm b/svnrm
new file mode 100755
index 0000000..12b18b6
--- /dev/null
+++ b/svnrm
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+svn up --set-depth exclude "$@" && rm -rf "$@"
diff --git a/upgpkg b/upgpkg
index ef8388f..2c3f677 100755
--- a/upgpkg
+++ b/upgpkg
@@ -116,6 +116,8 @@ $0 ~ /^(md5|sha[0-9]+)sums/ {
!i {print};
$0 ~ /\)/ {i = 0}' | sponge PKGBUILD
+makepkg --verifysource -d
+
source PKGBUILD
if [ -f "upgpkg" ]; then
source ./upgpkg