From: Alexander Barton Date: Sun, 26 Jan 2014 22:40:58 +0000 (+0100) Subject: configure: Only link "contrib/Debian" if it exists X-Git-Tag: rel-21.1~8 X-Git-Url: https://arthur.barton.de/gitweb/?p=ngircd.git;a=commitdiff_plain;h=4525425879ac6ae9252019b65ba9fade7513547e configure: Only link "contrib/Debian" if it exists This isn't the case on "VPATH builds", for example. (cherry picked from commit 14a84dfca57efeb744aa6219ca7776dc629871b7) --- diff --git a/configure.ng b/configure.ng index ef5b956f..63389958 100644 --- a/configure.ng +++ b/configure.ng @@ -673,7 +673,9 @@ if test $? -eq 0; then # Generate debian/ link if the dpkg command exists # (read: if we are running on a debian compatible system) echo "creating Debian-specific links ..." - test -f debian/rules || ln -s contrib/Debian debian + if test ! -f debian/rules -a -f contrib/Debian/rules; then + ln -s contrib/Debian debian + fi fi # -- Result --