From 5c41d0eb4c7034998d9718f89e12f44fe872ab9a Mon Sep 17 00:00:00 2001 From: Andrew Fyfe Date: Mon, 28 May 2007 20:49:28 +0100 Subject: Substitute config directory in scripts. Signed-off-by: Andrew Fyfe --- scripts/updatesync.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/updatesync.in') diff --git a/scripts/updatesync.in b/scripts/updatesync.in index eb82bdec..6a59edc5 100644 --- a/scripts/updatesync.in +++ b/scripts/updatesync.in @@ -96,8 +96,8 @@ if [ $# -lt 3 ]; then fi # source system and user makepkg.conf -if [ -r /etc/makepkg.conf ]; then - source /etc/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 -- cgit v1.2.3