Menu

#1 Distribution file needs a directory

open
nobody
None
5
2003-09-15
2003-09-15
No

For future reference, when creating a distribution, you
should push the files into a directory. Almost every open
source project does this, so we lazy types get used to that
behavior and sometimes forget to run "tar tf ..." first to
check that that is the case. For example, the NXE 1.0
distribution untars like so:

# gunzip -c ../tarfiles/NXEv1r0.tar.gz | tar tf -
INSTALL.txt
license.txt
nxe_client.pl
nxe.config
nxe.dtd
nxe.pl
nxe_sample.xsl
USAGE.txt

It would be much friendlier if it untarred like so:

# gunzip -c ../tarfiles/NXEv1r0.tar.gz | tar tf -
NXEv1r0/INSTALL.txt
NXEv1r0/license.txt
NXEv1r0/nxe_client.pl
NXEv1r0/nxe.config
NXEv1r0/nxe.dtd
NXEv1r0/nxe.pl
NXEv1r0/nxe_sample.xsl
NXEv1r0/USAGE.txt

so as to avoid cluttering up the current directory.

Discussion


Log in to post a comment.