summaryrefslogtreecommitdiff
path: root/scripts/updatesync.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/updatesync.in')
-rw-r--r--scripts/updatesync.in17
1 files changed, 9 insertions, 8 deletions
diff --git a/scripts/updatesync.in b/scripts/updatesync.in
index 6a59edc5..c0888c74 100644
--- a/scripts/updatesync.in
+++ b/scripts/updatesync.in
@@ -1,23 +1,24 @@
#!/bin/bash
-#
+#
# updatesync
-#
+# @configure_input@
+#
# Copyright (c) 2004 by Jason Chu <jason@archlinux.org>
# Derived from gensync (c) 2002-2006 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.
#
@@ -96,8 +97,8 @@ if [ $# -lt 3 ]; then
fi
# source system and user makepkg.conf
-if [ -r @SYSCONFDIR@/makepkg.conf ]; then
- source @SYSCONFDIR@/makepkg.conf
+if [ -r @sysconfdir@/makepkg.conf ]; then
+ source @sysconfdir@/makepkg.conf
else
echo "ERROR: /etc/makepkg.conf not found. Can not continue." >&2
exit 1 # $E_CONFIG_ERROR # TODO: error codes