[csw-devel] SF.net SVN: gar:[5446] csw/mgar/pkg/dnswalk/trunk/Makefile

bonivart at users.sourceforge.net bonivart at users.sourceforge.net
Tue Jun 30 17:16:08 CEST 2009


Revision: 5446
          http://gar.svn.sourceforge.net/gar/?rev=5446&view=rev
Author:   bonivart
Date:     2009-06-30 15:16:08 +0000 (Tue, 30 Jun 2009)

Log Message:
-----------
dnswalk: fix permissions

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

Modified: csw/mgar/pkg/dnswalk/trunk/Makefile
===================================================================
--- csw/mgar/pkg/dnswalk/trunk/Makefile	2009-06-30 14:55:23 UTC (rev 5445)
+++ csw/mgar/pkg/dnswalk/trunk/Makefile	2009-06-30 15:16:08 UTC (rev 5446)
@@ -37,13 +37,15 @@
 	@ginstall -d $(DESTDIR)$(bindir)
 	@ginstall -d $(DESTDIR)$(docdir)/$(GARNAME)
 	@ginstall -d $(DESTDIR)$(mandir)/man1
-	@$(foreach BIN,$(BINLIST),cp $(WORKDIR)/$(BIN) $(DESTDIR)$(bindir);)
-	@( cd $(DESTDIR)$(bindir) ; \
+	@( cd $(WORKDIR) ; \
 	   sed 's|^#!/usr/contrib|#!/opt/csw|' dnswalk > dnswalk.sed ; \
-	   mv dnswalk.sed dnswalk )
-	@( cd $(DESTDIR)$(bindir) ; \
+	   mv dnswalk.sed dnswalk ; \
+	   chmod 755 dnswalk )
+	@( cd $(WORKDIR) ; \
 	   sed 's|^#!/usr/contrib|#!/opt/csw|' makereports > makereports.sed ; \
-	   mv makereports.sed makereports )
+	   mv makereports.sed makereports ; \
+	   chmod 755 makereports )
+	@$(foreach BIN,$(BINLIST),cp $(WORKDIR)/$(BIN) $(DESTDIR)$(bindir);)
 	@cp $(WORKDIR)/$(GARNAME).1 $(DESTDIR)$(mandir)/man1
 	@$(foreach DOC,$(DOCLIST),cp $(WORKDIR)/$(DOC) $(DESTDIR)$(docdir)/$(GARNAME);)
 	@$(MAKECOOKIE)


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