On 27 May 2012 12:37, James Paige <b...@hamsterrepublic.com> wrote: > On Wednesday, May 23, 2012, Ralph Versteegen <teeem...@gmail.com> wrote: >> On 23 May 2012 13:39, <subvers...@hamsterrepublic.com> wrote: >>> james >>> 2012-05-22 18:39:36 -0700 (Tue, 22 May 2012) >>> 165 >>> Fix Export Mac OS X App Bundle to use the tarball instead of the zip >>> (I still have not tested what happens to the symlinks when the tarball is >>> extracted on Windows) >>> --- >>> U wip/distribmenu.bas >> >> Of course when it's extracted, the symlinks are replaced with copies, >> and the executable bits are thrown away. What I meant was that the >> .rpg file (actually, an .rpgdir would be better) could be added to a >> copy of the tar without needing to extract it. > > Hmmmm. I see what you mean... but it will be tricky. Adding files to a tar > doesn't appear to be difficult, but there is no way to easily rename > OHRRPGCE Game.app to Gamename.app without extracting the tar... unless we > make sure the tar is in the old format with fixed-length file name fields, > and we manually overwrite that field > > --- > James
Opps, I hadn't thought of that. I just checked, and although GNU has lots of advanced options, including an implementation of half of AWK for specifying regexes to run file names through when adding or extracting, there does not seem to be any way to achieve this other than what you've suggested (or doing proper tar parsing/a library). _______________________________________________ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org