[xml/sgml-commit] [linuxdoc-tools] 14/16: doc/Makedoc.sh: Make POSIX sh portable and use as such from Makefile.in.
Agustín Martín Domingo
agmartin at moszumanska.debian.org
Mon Oct 19 11:31:24 UTC 2015
This is an automated email from the git hooks/post-receive script.
agmartin pushed a commit to branch upstream
in repository linuxdoc-tools.
commit 616e637a465afd697167763febeca4067da9bde2
Author: Agustin Martin Domingo <agmartin at debian.org>
Date: Mon Oct 19 11:20:37 2015 +0200
doc/Makedoc.sh: Make POSIX sh portable and use as such from Makefile.in.
Signed-off-by: Agustin Martin Domingo <agmartin at debian.org>
---
Makefile.in | 2 +-
doc/Makedoc.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index 46e3e04..adb85d0 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -90,7 +90,7 @@ ifneq ($(BUILDDOC_FORMATS),)
PKGDATADIR=$(CURDIR)/lib \
PKGENTITYMAPDIR=$(CURDIR)/entity-map \
BUILDDOC_FORMATS="$(BUILDDOC_FORMATS)" \
- bash Makedoc.sh)
+ sh Makedoc.sh)
endif
install:: bin/linuxdoc
diff --git a/doc/Makedoc.sh b/doc/Makedoc.sh
index a228869..3e2c2ca 100644
--- a/doc/Makedoc.sh
+++ b/doc/Makedoc.sh
@@ -13,7 +13,7 @@ export TMPDIR=`mktemp -d ${TMPDIR:-/tmp}/ldt.XXXXXXXXXX`;
echo "-------- Building linuxdoc-tools docs ---------"
echo "Using temporary directory: $TMPDIR"
-function abort()
+abort()
{
sleep 1; rm -rf $TMPDIR; exit 1
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-xml-sgml/linuxdoc-tools.git
More information about the debian-xml-sgml-commit
mailing list