[med-svn] r11514 - trunk/packages/fis-gtm/trunk/debian
Luis Ibanez
luisibanez-guest at alioth.debian.org
Sun Jul 1 19:22:22 UTC 2012
Author: luisibanez-guest
Date: 2012-07-01 19:22:22 +0000 (Sun, 01 Jul 2012)
New Revision: 11514
Modified:
trunk/packages/fis-gtm/trunk/debian/changelog
trunk/packages/fis-gtm/trunk/debian/rules
Log:
Inserting shebang line in executable scripts, to address lintian warning.
Modified: trunk/packages/fis-gtm/trunk/debian/changelog
===================================================================
--- trunk/packages/fis-gtm/trunk/debian/changelog 2012-07-01 18:05:03 UTC (rev 11513)
+++ trunk/packages/fis-gtm/trunk/debian/changelog 2012-07-01 19:22:22 UTC (rev 11514)
@@ -11,6 +11,8 @@
files and then invoke cmake.
added setuid for file gtmsecshr during installation step.
Deleting the redundant COPYING file.
+ Inserting shebang line in executable scripts to address lintian
+ warnings.
* debian/control:
Added cmake as a build dependency.
* debian/source:
Modified: trunk/packages/fis-gtm/trunk/debian/rules
===================================================================
--- trunk/packages/fis-gtm/trunk/debian/rules 2012-07-01 18:05:03 UTC (rev 11513)
+++ trunk/packages/fis-gtm/trunk/debian/rules 2012-07-01 19:22:22 UTC (rev 11514)
@@ -44,7 +44,21 @@
ls -l $(CURDIR)/debian/$(BINPKG)/usr/$(GTM_INSTALL_DIR)/gtmsecshr
@echo "I: Removing redundant license file. One is already available."
rm $(CURDIR)/debian/$(BINPKG)/usr/$(GTM_INSTALL_DIR)/COPYING
+ @echo "I: Adding oshebang line to executable scripts."
+ sed -i '1 i\
+#!/bin/sh' $(CURDIR)/debian/$(BINPKG)/usr/$(GTM_INSTALL_DIR)/gtmstart
+ sed -i '1 i\
+#!/bin/sh' $(CURDIR)/debian/$(BINPKG)/usr/$(GTM_INSTALL_DIR)/gtmstop
+ sed -i '1 i\
+#!/bin/sh' $(CURDIR)/debian/$(BINPKG)/usr/$(GTM_INSTALL_DIR)/gtmprofile
+ sed -i '1 i\
+#!/bin/sh' $(CURDIR)/debian/$(BINPKG)/usr/$(GTM_INSTALL_DIR)/gtmprofile_preV54000
+ sed -i '1 i\
+#!/bin/sh' $(CURDIR)/debian/$(BINPKG)/usr/$(GTM_INSTALL_DIR)/gtcm_run
+ sed -i '1 i\
+#!/bin/sh' $(CURDIR)/debian/$(BINPKG)/usr/$(GTM_INSTALL_DIR)/gtcm_slist
+
# yoh: although it might sound to remove write permissions for the
# deployed materials, as far as I see it, it is useless, since the
# user (root) would always be able to revert them to become writable.
More information about the debian-med-commit
mailing list