Don't set PREFIX or DESTDIR to blank so we work as a FreeBSD port
[openresolv] / dnsmasq.in
index a8740b330b37bcc685e3949635f2f740fa36df65..ee4a6d682044ef011a281ece70bb38e2eb1d01aa 100755 (executable)
@@ -122,9 +122,9 @@ for DN in $(uniqify ${NEWDOMAIN}); do
                set -- ${IP}
                NUM="0x$(printf "%02x" $1 $2 $3 $4)"
                if [ "${SIFS}" = "y" ]; then
-                       IFS=$OIFS
-               else
                        unset IFS
+               else
+                       IFS=$OIFS
                fi
                DBUSDEST="${DBUSDEST} uint32:$(printf "%d" ${NUM}) string:${DN%,*}"
        else