John Burrell wrote: >>> Among the changes from 4.3 to 4.4 is this one: >>> >>> >>> "qq. There is a new option settable in config-top.h that makes multiple >>> directory arguments to `cd' a fatal error." >>> >>> The relevant Define variable in config-top.h is CD_COMPLAINS and it is set >>> by default. >>> >>> You have to undefine this to get the 4.3 behavior. >>> >>> This explains why my install scripts started failing. By default you can't: >>> >>> unzip jasper-*.zip >>> cd jasper-* > >>It depends on how many matches you get with jasper-*. If there is only >>one match, you are OK. > >True, but if you have the source file and the unpacked version in the same dir >(the usual case for me) it doesn't work. > >Here is an example - jasper-1.900.1.zip is the only file in a dir. I did unzip >jasper*.zip and then > >cd jasper-* gave me the following (using set -x): > >+ cd jasper-1.900.1 jasper-1.900.1.zip >bash: cd: too many arguments
Putting a slash after the asterisk will pick directories only. Try this: cd jasper-*/ Ohashi -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
