summaryrefslogtreecommitdiff
path: root/scripts/abs.in
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-05-30 11:04:49 -0400
committerDan McGee <dan@archlinux.org>2007-05-30 11:04:49 -0400
commitb6387b954f7c35d0d51978aac24ca6bd6a5308fc (patch)
treea6beb14f4280b848fafc00059c7c4a54df2db8f2 /scripts/abs.in
parentdd926c7a1c23eab0db242184c7668f32fd4defee (diff)
downloadpacman-b6387b954f7c35d0d51978aac24ca6bd6a5308fc.tar.xz
scripts: do autoconf path replacement right
This should finally get the path replacement in our scripts right. This is the way the autoconf package itself does it and should not need much further tweaking. Threw in a few trailing whitespace corrections from the scripts as well. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/abs.in')
-rw-r--r--scripts/abs.in19
1 files changed, 10 insertions, 9 deletions
diff --git a/scripts/abs.in b/scripts/abs.in
index b086aea6..42ad56af 100644
--- a/scripts/abs.in
+++ b/scripts/abs.in
@@ -1,27 +1,28 @@
#!/bin/bash
-#
-# abs
-#
+#
+# abs - download a PKGBUILD tree from a CVS repository
+# @configure_input@
+#
# Copyright (c) 2002-2007 by Judd Vinet <jvinet@zeroflux.org>
-#
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
-#
+#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
# USA.
#
myver='@PACKAGE_VERSION@'
-CONFDIR="@SYSCONFDIR@/abs"
+CONFDIR="@sysconfdir@/abs"
CONNMODE="m"
[ -f "$CONFDIR/abs.conf" ] && source "$CONFDIR/abs.conf"
@@ -65,7 +66,7 @@ update() {
cd "$ABSROOT"
fi
done
-}
+}
if [ "$1" = "-h" -o "$1" = "--help" ]; then
usage