On Friday 16 February 2007 23:28, M.Canales.es wrote: > El Sábado, 17 de Febrero de 2007 00:24, Dan Nicholson escribió: > > ifeq ($(shell [ -x /bin/bash ] && echo /bin/bash), /bin/bash) > > > > since it also checks that you can execute bash. > > The -x test was my first idea, but not recall on the echo part to do the > comparassion, thanks. > > I'm starting a build to see if ithat method works as expected.
I get the following: mk_CHROOT You are going to CHROOT into /media/hda3 lfs a password is required make: /bin/sh: Command not found -------------------------------------------------------------------------------- Building target 062-creatingdirs /tools/bin/bash: ./progress_bar.sh: Permission denied Target 062-creatingdirs OK -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- Building target 063-createfiles /tools/bin/bash: ./progress_bar.sh: Permission denied Target 063-createfiles OK -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- Building target 064-linux-headers /tools/bin/bash: ./progress_bar.sh: Permission denied Is this because of the following? $ ls -l $LFS/jhalfs/progress_bar.sh -rw-rw-rwT 1 matthew matthew 1787 2007-02-17 12:05 /media/hda3/jhalfs/progress_bar.sh Regards, Matt. -- http://linuxfromscratch.org/mailman/listinfo/alfs-discuss FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
