Improve build system a little.
[openresolv] / resolvconf.in
index 16bc29e4eb01703ff4302a4e240aca7156066025..7b28cb807ff4197b6c6caefbb2febf6379c730a9 100644 (file)
@@ -27,7 +27,7 @@
 ARGV0="$0"
 SYSCONFDIR=@SYSCONFDIR@
 LIBEXECDIR=@LIBEXECDIR@
-VARDIR=@VARBASE@/run/resolvconf
+VARDIR=@VARDIR@
 IFACEDIR="${VARDIR}/interfaces"
 METRICDIR="${VARDIR}/metrics"
 PRIVATEDIR="${VARDIR}/private"
@@ -344,7 +344,6 @@ if [ "${cmd}" = "a" ]; then
        [ "${cmd}" = "a" -a -t 0 ] && error_exit "No file given via stdin"
 fi
 
-# Ensure that libdir exists
 if [ ! -d "${IFACEDIR}" ]; then
        if [ ! -d "${VARDIR}" ]; then
                if [ -L "${VARDIR}" ]; then