SF.net SVN: gar:[22337] csw/mgar/pkg/svr4pkg/trunk/Makefile

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Thu Oct 31 00:36:04 CET 2013


Revision: 22337
          http://gar.svn.sourceforge.net/gar/?rev=22337&view=rev
Author:   chninkel
Date:     2013-10-30 23:36:02 +0000 (Wed, 30 Oct 2013)
Log Message:
-----------
svr4pkg/trunk: fix bashism in class action script installation instructions

Modified Paths:
--------------
    csw/mgar/pkg/svr4pkg/trunk/Makefile

Modified: csw/mgar/pkg/svr4pkg/trunk/Makefile
===================================================================
--- csw/mgar/pkg/svr4pkg/trunk/Makefile	2013-10-30 23:15:33 UTC (rev 22336)
+++ csw/mgar/pkg/svr4pkg/trunk/Makefile	2013-10-30 23:36:02 UTC (rev 22337)
@@ -21,6 +21,11 @@
 # We disable the checkpkg alarms related
 CHECKPKG_OVERRIDES_CSWsvr4pkg += missing-dependency|
 
+# We provide some default class action script
+# located in a place not standard so we disable 
+# the checkpkg warning
+CHECKPKG_OVERRIDES_CSWsvr4pkg += bad-location-of-file|
+
 ARCHALL = 1
 
 CONFIGURE_SCRIPTS =
@@ -43,7 +48,7 @@
 	done
 	ginstall -d $(DESTDIR)$(CAS_LOCATION)
 	cd "$(FILEDIR)" && for CAS in *.sh; do \
-	    ginstall $$CAS $(DESTDIR)$(CAS_LOCATION)/$${CAS#.sh}; \
+	    ginstall $$CAS $(DESTDIR)$(CAS_LOCATION)/`echo ${CAS} | sed -e '/\.sh$$//'`; \
         done
 	ginstall -d $(DESTDIR)$(docdir)$(NAME)
 	ginstall $(WORKSRC)/README.md $(DESTDIR)$(docdir)$(NAME)

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list