summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Davis <jrcd83@gmail.com>2012-05-15 20:09:55 +0200
committerJustin Davis <jrcd83@gmail.com>2012-05-15 20:09:55 +0200
commit622755abb97e6c72b9a4314d2f85a0f3a1a7b9f0 (patch)
tree217089e7b243a9a5aeb8260899e0097ff44d1977
parentd1666a3b22679f77dbf7d291356f2a91aacdf951 (diff)
downloadgenpkg-622755abb97e6c72b9a4314d2f85a0f3a1a7b9f0.tar.gz
genpkg-622755abb97e6c72b9a4314d2f85a0f3a1a7b9f0.tar.xz
pushpkgs will svn update before changing files.
-rwxr-xr-xpushpkgs4
1 files changed, 2 insertions, 2 deletions
diff --git a/pushpkgs b/pushpkgs
index d7a99ab..d8be2f3 100755
--- a/pushpkgs
+++ b/pushpkgs
@@ -41,10 +41,9 @@ do
fi
cd "$REPODIR" || exit 1
- echo "$REPODIR/$pkg"
+ svn update "$pkg" >/dev/null 2>&1
if [ -d "$pkg" ]
then
- svn update "$pkg"
rm -rf "$pkg/trunk/"*
fi
@@ -54,6 +53,7 @@ do
cd "$pkg/trunk"
prependid
svnadd >/dev/null 2>&1
+ echo "$REPODIR/$pkg"
cd "$pkgdir"
done