On Sat, Sep 24, 2016 at 01:22:48AM +0000, John Burrell wrote:
>
> So I, and probably others too, will have to undefine CD_COMPLAINS in order to
> make it work sensibly or use a more complicated method - something like:
>
> SrcName=jasper-
> gotoDir=$(zipinfo -1 ${SrcName}*.zip | grep -m1 /)
> unzip ${SrcName}*.zip
> cd $gotoDir
>
> which is horrible in comparison to using *
>
I have never trusted a tarball or zip file to include the "expected"
directory name, there have been too many cases where the directory
name was slightly different. So I take the long route (I use a set
of functions in my buildscripts to work out the directory name).
Sorry this change causese you pain, and I guess something in 4.4 may
well cause me pain - but that's the way the cookie crumbles when we
create our own scripts. Hope this is your only problem.
ĸen
--
`I shall take my mountains', said Lu-Tze. `The climate will be good
for them.' -- Small Gods
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page