[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[texinfo] 01/01: update-info-dir: use sh, fix typo == vs =



This is an automated email from the git hooks/post-receive script.

preining pushed a commit to branch master
in repository texinfo.

commit edeab216d716b11fef926777bd2ebd7064442152
Author: Norbert Preining <preining@debian.org>
Date:   Sat Oct 4 07:28:21 2014 +0900

    update-info-dir: use sh, fix typo == vs =
---
 debian/changelog       | 4 +++-
 debian/update-info-dir | 6 +++---
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index deecf9b..d0b80ed 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,10 @@
 texinfo (5.2.0.dfsg.1-5) UNRELEASED; urgency=medium
 
   * mention texinfo-doc-nonfree in the info man page (Closes: #752731)
+  * fix a typo in update-info-dir (thanks to anonymous user), switch
+    to use sh instead of bash
 
- -- Norbert Preining <preining@debian.org>  Thu, 26 Jun 2014 09:49:17 +0900
+ -- Norbert Preining <preining@debian.org>  Sat, 04 Oct 2014 07:27:43 +0900
 
 texinfo (5.2.0.dfsg.1-4) unstable; urgency=medium
 
diff --git a/debian/update-info-dir b/debian/update-info-dir
index 979534c..5098081 100755
--- a/debian/update-info-dir
+++ b/debian/update-info-dir
@@ -1,7 +1,7 @@
-#!/bin/bash
+#!/bin/sh
 # update-info-dir
 # create a dir file from all installed info files
-# Copyright 2009 Norbert Preining
+# Copyright 2009, 2014 Norbert Preining
 # GPLv2
 
 INFODIR=/usr/share/info
@@ -35,7 +35,7 @@ on startup."
 }
 
 
-if [ "$1" = "-h" ] || [ "$1" == "--help" ]; then
+if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
     Help
 fi
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-tex/texinfo.git


Reply to: