Richard, my fresh, clean, unadulterated Ubuntu will not compile anything so as a quickie could you do the following to see if this clears up some of the problems.
   In the Makefile

#---------------AS ROOT
mk_SETUP:
   @$(call echo_SU_request)
   @sudo make SHELL=/bin/bash SETUP   <<-- define SHELL
   @touch $@

#---------------AS LUSER
mk_CROSS: mk_SETUP
   @$(call echo_PHASE,Cross and Temporary Tools)
@(sudo $(SU_LUSER) "source .bashrc && cd $(MOUNT_PT)/$(SCRIPT_ROOT) && make SHELL=/bin/bash AS_LUSER" ) <<-- define SHELL

@mk_SUDO: mk_CROSS
        @sudo make SHELL=/bin/bash SUDO  <<-- define SHELL
        @touch [EMAIL PROTECTED] make restore-luser-env
   @touch $@


George,

This makes little difference. I still had to add SHELL=/bin/bash to the
Makefile itself in order to stop -e appearing everywhere, and the #! in
the command files is still /bin/sh so the scripts fail as before.

Richard, please download the latest trunk. I have addressed all your points there.
  G
R.


--
http://linuxfromscratch.org/mailman/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to