summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2007-11-12 11:32:00 +0000
committerColin Watson <cjwatson@debian.org>2007-11-12 11:32:00 +0000
commit155a9d1515a3d3c4265734d4730278ec748891e2 (patch)
treebc7666800fc0362d8a8a9f0e343bfc07fddcef24 /debian/rules
parent341ea58223fcd7c5627096e91e90ad6c51f9a338 (diff)
* Suppress error from debian/rules if lsb-release is not installed.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 926e8674e..5a1d722fd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -73,7 +73,7 @@ endif
73# Change the version string to include the Debian version 73# Change the version string to include the Debian version
74SSH_EXTRAVERSION := Debian-$(shell dpkg-parsechangelog | sed -n -e '/^Version:/s/Version: //p' | sed -e 's/[^-]*-//') 74SSH_EXTRAVERSION := Debian-$(shell dpkg-parsechangelog | sed -n -e '/^Version:/s/Version: //p' | sed -e 's/[^-]*-//')
75 75
76DISTRIBUTOR := $(shell lsb_release -is || echo Debian) 76DISTRIBUTOR := $(shell lsb_release -is 2>/dev/null || echo Debian)
77ifeq ($(DISTRIBUTOR),Ubuntu) 77ifeq ($(DISTRIBUTOR),Ubuntu)
78DEFAULT_PATH := /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games 78DEFAULT_PATH := /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
79else 79else