summaryrefslogtreecommitdiffstats
path: root/db-update
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-update
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-update')
-rwxr-xr-xdb-update8
1 files changed, 4 insertions, 4 deletions
diff --git a/db-update b/db-update
index 9dd5c9d..a08bee2 100755
--- a/db-update
+++ b/db-update
@@ -93,11 +93,11 @@ if [ -n "$ANYPKGS" ]; then
else
/usr/bin/svn up -q $_pkgbase
if [ -d "$_pkgbase/repos/$svnrepo" ]; then
- . "$_pkgbase/repos/$svnrepo/$BUILDSCRIPT"
+ . "$_pkgbase/repos/$svnrepo/PKGBUILD"
if echo "$_pkgfile" | grep -q "$_pkgname-$pkgver-$pkgrel-any"; then
to_add_any="$to_add_any $pkg"
else
- echo " WARNING: $_pkgfile does not match $BUILDSCRIPT in $svnrepo"
+ echo " WARNING: $_pkgfile does not match PKGBUILD in $svnrepo"
fi
else
echo " WARNING: Package $_pkgbase not found in $svnrepo"
@@ -163,11 +163,11 @@ for current_arch in ${ARCHES[@]}; do
else
/usr/bin/svn up -q $_pkgbase
if [ -d "$_pkgbase/repos/$svnrepo" ]; then
- . "$_pkgbase/repos/$svnrepo/$BUILDSCRIPT"
+ . "$_pkgbase/repos/$svnrepo/PKGBUILD"
if echo "$_pkgfile" | grep -q "$_pkgname-$pkgver-$pkgrel-$current_arch"; then
to_add="$to_add $pkg"
else
- echo " WARNING: $_pkgfile does not match $BUILDSCRIPT in $svnrepo"
+ echo " WARNING: $_pkgfile does not match PKGBUILD in $svnrepo"
fi
else
echo " WARNING: Package $_pkgbase not found in $svnrepo"