summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-10-30 08:12:09 -0500
committerDan McGee <dan@archlinux.org>2007-10-30 08:12:09 -0500
commitccdf29ffa8436d3cd5409b0d02287207716cf397 (patch)
tree13cb96fbef346181542ab7771a4800e178942ba7 /scripts
parentac79135b94b1cd2c3fc4818bdfbe8ec63a6166b6 (diff)
downloadpacman-ccdf29ffa8436d3cd5409b0d02287207716cf397.tar.xz
abs: prefer csup to cvsup
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/abs.sh.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/abs.sh.in b/scripts/abs.sh.in
index 5ceb433e..ae825259 100644
--- a/scripts/abs.sh.in
+++ b/scripts/abs.sh.in
@@ -27,7 +27,7 @@
# E_OK : Everything worked :)
# E_MISSING_PROGRAM : A program the script depends on is not installed.
# E_CONFIG_ERROR : Missing/incorrect configuration.
-# E_INVALID_OPTION : User has passed unknow/invalid option to script.
+# E_INVALID_OPTION : User has passed unknown/invalid option to script.
##
# gettext initialization
@@ -135,12 +135,12 @@ elif [ ! -w "$ABSROOT" ]; then
fi
-if [ "$(type -p cvsup)" ]; then
- CVSUP="cvsup"
-elif [ "$(type -p csup)" ]; then
+if [ "$(type -p csup)" ]; then
CVSUP="csup"
+elif [ "$(type -p cvsup)" ]; then
+ CVSUP="cvsup"
else
- error "$(gettext "Missing CVS synchronization utility. Install cvsup or csup.")"
+ error "$(gettext "Missing CVS synchronization utility. Install csup or cvsup.")"
exit 1 # E_MISSING_PROGRAM
fi