zipinstall does not always work
Original Reporter info from Mantis: DenJean
-
Reporter name: Jan Van hijfte
Original Reporter info from Mantis: DenJean
- Reporter name: Jan Van hijfte
Description:
explanation
http://lists.freepascal.org/lists/fpc-devel/2010-May/019917.html
so order of tar parameters should be fixed.
below is a proposed patch, works for me on linux,
mind you I do no understand the file I modified.
proposed patch:
===================================================================
--- utils/fpcm/fpcmake.inc (revision 15289)
+++ utils/fpcm/fpcmake.inc (working copy)
@@ -2006,7 +2006,7 @@
'ZIPCMD_CDBASE:=cd $(sub','st /,$(ZIPPATHSEP),$(BASEDIR))'#010+
'ifdef USETAR'#010+
'ZIPDESTFILE:=$(DIST_DESTDIR)/$(FULLZIPNAME)$(TAREXT)'#010+
- 'ZIPCMD_ZIP:=$(TARPROG) cf$(TAROPT) $(ZIPDESTFILE) *'#010+
+ 'ZIPCMD_ZIP:=$(TARPROG) c$(TAROPT)f $(ZIPDESTFILE) *'#010+
'else'#010+
'ZIPDESTFILE:=$(DIST_DESTDIR)/$(FULLZIPNAME)$(ZIPEXT)'#010+
'ZIPCMD_ZIP:=$(subst /,$(ZIPPATHSE','P),$(ZIPPROG)) -Dr $(ZIPOPT) $(ZIPD'+