summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-04-14 13:45:35 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-04-14 13:45:35 -0300
commit1a0d07ee6f649fa515236ee58830a864bb65e661 (patch)
tree0331d96000ed40b0bd07e3a64843cab3da15736b
parent2434277d8cf73c7332b82e5fb8fd968990976fd0 (diff)
Precedence order tip + correct error message on empty VAR
-rw-r--r--libretools.conf5
1 files changed, 4 insertions, 1 deletions
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