Module: ngircd.git Branch: master Commit: 14a84dfca57efeb744aa6219ca7776dc629871b7 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=14a84...
Author: Alexander Barton alex@barton.de Date: Sun Jan 26 23:40:58 2014 +0100
configure: Only link "contrib/Debian" if it exists
This isn't the case on "VPATH builds", for example.
---
configure.ng | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configure.ng b/configure.ng index 1e141c9..5f85a4d 100644 --- a/configure.ng +++ b/configure.ng @@ -676,7 +676,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 --