diff options
| author | Alexander Barton <alex@barton.de> | 2014-01-26 23:40:58 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2014-01-26 23:41:06 +0100 |
| commit | 14a84dfca57efeb744aa6219ca7776dc629871b7 (patch) | |
| tree | 0c35b8977f5916a6a8979d9b47204e2da4368cd3 /configure.ng | |
| parent | 4cb36e370ec37554ff0ba3e26001b6bef5e4563d (diff) | |
| download | ngircd-14a84dfca57efeb744aa6219ca7776dc629871b7.tar.gz ngircd-14a84dfca57efeb744aa6219ca7776dc629871b7.zip | |
configure: Only link "contrib/Debian" if it exists
This isn't the case on "VPATH builds", for example.
Diffstat (limited to 'configure.ng')
| -rw-r--r-- | configure.ng | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ng b/configure.ng index 1e141c9f..5f85a4dd 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 -- |