diff options
author | Colin Watson <cjwatson@debian.org> | 2007-11-12 11:32:00 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2007-11-12 11:32:00 +0000 |
commit | 155a9d1515a3d3c4265734d4730278ec748891e2 (patch) | |
tree | bc7666800fc0362d8a8a9f0e343bfc07fddcef24 /debian/rules | |
parent | 341ea58223fcd7c5627096e91e90ad6c51f9a338 (diff) |
* Suppress error from debian/rules if lsb-release is not installed.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 2 |
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 |
74 | SSH_EXTRAVERSION := Debian-$(shell dpkg-parsechangelog | sed -n -e '/^Version:/s/Version: //p' | sed -e 's/[^-]*-//') | 74 | SSH_EXTRAVERSION := Debian-$(shell dpkg-parsechangelog | sed -n -e '/^Version:/s/Version: //p' | sed -e 's/[^-]*-//') |
75 | 75 | ||
76 | DISTRIBUTOR := $(shell lsb_release -is || echo Debian) | 76 | DISTRIBUTOR := $(shell lsb_release -is 2>/dev/null || echo Debian) |
77 | ifeq ($(DISTRIBUTOR),Ubuntu) | 77 | ifeq ($(DISTRIBUTOR),Ubuntu) |
78 | DEFAULT_PATH := /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games | 78 | DEFAULT_PATH := /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games |
79 | else | 79 | else |