summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2015-07-19 14:17:08 +0200
committerAxel Beckert <abe@deuxchevaux.org>2015-07-19 14:17:08 +0200
commit378f2d98f9c043065dc0dfffa239b3c10a8e49a7 (patch)
treec3bee5da08bc375590ed3f8f1e6444550dc04fa1 /debian
parent921a89f61c9cb3997b0653c0191675fa5649b237 (diff)
downloadaptitude-378f2d98f9c043065dc0dfffa239b3c10a8e49a7.tar.gz
debian/rules: Remove obsolete x from [ "x$var" != "x" ] comparisons
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog4
-rwxr-xr-xdebian/rules4
2 files changed, 5 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index 3b163287..51fe0773 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,7 +6,9 @@ aptitude (0.6.11-2) UNRELEASED; urgency=medium
* Declare compliance with Debian Policy 3.9.6. (No changes needed.)
* Move to be installed documentation from debian/aptitude-common.install
to debian/aptitude-common.docs.
- * Remove override_dh_builddeb: xz compression is default nowadays.
+ * debian/rules:
+ + Remove override_dh_builddeb: xz compression is default nowadays.
+ + Remove obsolete x from [ "x$var" != "x" ] comparisons.
-- Axel Beckert <abe@debian.org> Sun, 19 Jul 2015 00:56:03 +0200
diff --git a/debian/rules b/debian/rules
index 59795139..32b9fcad 100755
--- a/debian/rules
+++ b/debian/rules
@@ -58,12 +58,12 @@ override_dh_installman:
debian/tmp/usr/share/man/gl/man8/aptitude-curses.8
@for ll in $(notdir $(wildcard debian/tmp/usr/share/man/??)); do \
mans=`find debian/tmp/usr/share/man/$$ll -name aptitude-curses.8`; \
- if [ "x$$mans" != "x" ]; then \
+ if [ "$$mans" != "" ]; then \
echo "dh_installman -paptitude --language=$$ll $$mans"; \
dh_installman -paptitude --language=$$ll $$mans; \
fi; \
mans=`find debian/tmp/usr/share/man/$$ll -name aptitude-*-state-bundle.1`; \
- if [ "x$$mans" != "x" ]; then \
+ if [ "$$mans" != "" ]; then \
echo "dh_installman -paptitude-common --language=$$ll $$mans"; \
dh_installman -paptitude-common --language=$$ll $$mans; \
fi; \