At Mon, 07 Jan 2013 16:00:27 +0100, Jaroslav Kysela wrote:
Date 7.1.2013 14:33, Takashi Iwai wrote:
At Mon, 07 Jan 2013 11:58:10 +0100, David Henningsson wrote:
I have a script that picks daily snapshots from ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz ...and I just noticed that the directory layout has changed, so what was "alsa-driver" is now "alsa-driver/alsa".
Is this expected, i e, should I update my script to follow this new layout, or was it a mistake?
It's no mistake, done intentionally so. But I'm going to change the script to create a tarball without alsa/ subdirectory later. But right now no time.
I would like to keep the structure same in GIT repo and tarball for the patch processing.
Keeping the same structure as a git repo is certainly a merit, but do we really need it? Basically all necessary stuff is found in alsa directory, I though. Any other missing pieces in the root directory?
As a workaround, just put a line like below in your script.
test -d alsa && cd alsa
Perhaps a README in the root directory with this information may be sufficient.
Maybe. It's no big matter, so I already changed the tarball in that way :) But changing back (i.e. creating a tarball from alsa directory) shouldn't be hard, too...
Takashi