[ncl] 05/12: * Ensure all ksh scripts are executable

Alastair McKinstry mckinstry at moszumanska.debian.org
Wed Sep 20 15:48:29 UTC 2017


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

mckinstry pushed a commit to branch debian/master
in repository ncl.

commit 8123e3ea079e0363c388f7e1644c44a10a169e6e
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Mon Jul 31 16:35:08 2017 +0100

    * Ensure all ksh scripts are executable
---
 debian/changelog | 2 ++
 debian/rules     | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 92ba7b2..1416f58 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ ncl (6.4.0-3) UNRELEASED; urgency=medium
 
   * Set ncl-ncarg as Multi-Arch: foreign
   * Fix manpage errors (thanks Lint.)  
+  * Set ksh paths to /bin/ksh in scripts. (ksh.patch)
+  * Ensure all ksh scripts are executable
 
  -- Alastair McKinstry <mckinstry at debian.org>  Mon, 31 Jul 2017 16:26:39 +0100
 
diff --git a/debian/rules b/debian/rules
index a079c3a..7343b8d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -98,6 +98,7 @@ override_dh_auto_build:
 	for d in common external ngmath/src/lib ncarg2d/src/libncarg_gks ncarg2d/src/libncarg ncarg2d/src/liboptional  ncarview ni/src/lib ; do \
 		LD_LIBRARY_PATH=$(TOPDIR)/debian/tmp/lib:$(TOPDIR)/shared $(MAKE) -C $$d install \
 			DEV_SYS_LIBS=$(EXTRA_LIBS)   INCSEARCH=${INCS} INC_SEARCH=${INCS}; done
+	
 	# Then build all the rest
 	LD_LIBRARY_PATH=$(TOPDIR)/debian/tmp/lib:$(TOPDIR)/shared $(MAKE) Everything \
 		DEV_SYS_LIBS=$(EXTRA_LIBS) INCSEARCH=${INCS} INC_SEARCH=${INCS}
@@ -120,6 +121,7 @@ override_dh_auto_install:
 		cp shared/$$d debian/libncarg0/$(LIBDIR)/$$d.1 ; \
 		dh_link -p libncarg-dev $(LIBDIR)/$$d.1 $(LIBDIR)/$$d ;  done
 	cp -a debian/tmp/lib/ncarg/robj debian/libncarg-dev/$(LIBDIR)/ncarg
+	find debian -name '*.ksh' -exec chmod +x {} \;
 
 override_dh_auto_clean:
 	find . -name '*.so.1' -delete

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ncl.git



More information about the debian-science-commits mailing list