summaryrefslogtreecommitdiffstats
path: root/db-remove
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-08-08 11:53:07 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-08-08 11:53:07 +0200
commitd0b5dcb3ce6a1ec5222fc7a0420b3e1dc4c3a27e (patch)
tree14cea2664bbe3c0eb219048f8e7fd67805a67016 /db-remove
parent3eb0f6abdb822ae15bcc72626dcdad37c0313927 (diff)
downloaddbscripts-d0b5dcb3ce6a1ec5222fc7a0420b3e1dc4c3a27e.tar.gz
dbscripts-d0b5dcb3ce6a1ec5222fc7a0420b3e1dc4c3a27e.tar.xz
Remove BUILDSCRIPT variable
There is no need to have a variable for things like PKGBUILD that are very unlikely to ever change.
Diffstat (limited to 'db-remove')
-rwxr-xr-xdb-remove2
1 files changed, 1 insertions, 1 deletions
diff --git a/db-remove b/db-remove
index bf325c4..1314bb7 100755
--- a/db-remove
+++ b/db-remove
@@ -50,7 +50,7 @@ cd checkout
/usr/bin/svn up -q $packagebase
if [ -d "$packagebase/repos/$svnrepo" ]; then
- . "$packagebase/repos/$svnrepo/$BUILDSCRIPT"
+ . "$packagebase/repos/$svnrepo/PKGBUILD"
/usr/bin/svn rm --force -q "$packagebase/repos/$svnrepo"
/usr/bin/svn commit -q -m "$(basename $0): $packagebase removed by $(id -un)"
else