From 1a0d07ee6f649fa515236ee58830a864bb65e661 Mon Sep 17 00:00:00 2001 From: Nicolas Reynolds Date: Thu, 14 Apr 2011 13:45:35 -0300 Subject: Precedence order tip + correct error message on empty VAR --- libretools.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libretools.conf') diff --git a/libretools.conf b/libretools.conf index da8d9d8..00963e2 100644 --- a/libretools.conf +++ b/libretools.conf @@ -7,6 +7,9 @@ DIFFTOOL=vimdiff # The dir where you work on WORKDIR=/home/$USER/packages # The repos you'll be packaging for +# Tip: As early repos take precedence on $REPOS loops, you can use this as +# inverted order of precedence. Put testing repos first so fullpkg find new +# PKGBUILDs first, for instance. REPOS=('libre' 'libre-testing' 'core' 'community' 'extra' 'social' 'sugar') # The architectures @@ -76,7 +79,7 @@ for VAR in CHROOTDIR CHROOT CHCOPY CACHEDIR PARABOLAHOST LIBREDESTDIR \ LIBRESRCDIR BLACKLIST WORKDIR PATCHDIR REPOS ARCHES ABSLIBREGIT COMMITCMD DIFFTOOL; do [[ -z ${!VAR} ]] && { - echo "Configure $VAR var in $0" + echo "Configure $VAR var in /etc/libretools.conf" exit 1 } done -- cgit v1.2.2