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

cgrzemba at users.sourceforge.net cgrzemba at users.sourceforge.net
Mon Nov 12 09:55:45 CET 2012


Revision: 19670
          http://gar.svn.sourceforge.net/gar/?rev=19670&view=rev
Author:   cgrzemba
Date:     2012-11-12 08:55:44 +0000 (Mon, 12 Nov 2012)
Log Message:
-----------
ant/trunk: fix broken link

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

Modified: csw/mgar/pkg/ant/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ant/trunk/Makefile	2012-11-11 18:06:15 UTC (rev 19669)
+++ csw/mgar/pkg/ant/trunk/Makefile	2012-11-12 08:55:44 UTC (rev 19670)
@@ -72,7 +72,7 @@
 	ginstall -d -m755 $(DESTDIR)/$(docdir)/$(NAME)
 	gcp -Rp $(WORKSRC)/$(DISTNAME)/etc $(DESTDIR)/$(ant_home)
 	find $(WORKSRC)/$(DISTNAME)/bin -type f -a ! -name \*.bat -a ! -name \*.cmd -exec ginstall -m755 {} $(DESTDIR)/$(ant_home)/bin \;
-	ln -s $(DESTDIR)/$(ant_home)/bin/ant $(DESTDIR)/$(bindir)
+	(cd $(DESTDIR)/$(bindir) && ln -s ../share/java/$(NAME)/bin/ant )
 	gsed -i -e '/^ANT_LIB/s/lib/share\/java/' $(DESTDIR)/$(ant_home)/bin/ant
 	ginstall -m644 $(WORKSRC)/$(DISTNAME)/lib/*.jar $(DESTDIR)/$(datadir)/java
 	gcp -Rp $(WORKSRC)/$(DISTNAME)/manual $(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