diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-08-08 11:53:07 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-08-08 11:53:07 +0200 |
commit | d0b5dcb3ce6a1ec5222fc7a0420b3e1dc4c3a27e (patch) | |
tree | 14cea2664bbe3c0eb219048f8e7fd67805a67016 /db-update | |
parent | 3eb0f6abdb822ae15bcc72626dcdad37c0313927 (diff) | |
download | dbscripts-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-x | db-update | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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" |