diff --git a/CLFS/master.sh b/CLFS/master.sh index 7be6415..ffaaf28 100755 --- a/CLFS/master.sh +++ b/CLFS/master.sh @@ -1196,18 +1196,18 @@ ck_UID: #---------------AS ROOT mk_SETUP: @\$(call echo_SU_request) - @sudo make SETUP + @sudo make SHELL=/bin/bash SETUP @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 AS_LUSER" ) + @(sudo \$(SU_LUSER) "source .bashrc && cd \$(MOUNT_PT)/\$(SCRIPT_ROOT) && make SHELL=/bin/bash AS_LUSER" ) @sudo make restore-luser-env @touch \$@ mk_SUDO: mk_CROSS - @sudo make SUDO + @sudo make SHELL=/bin/bash SUDO @touch \$@ # # The convoluted piece of code below is necessary to provide 'make' with a valid shell in the @@ -1314,11 +1314,11 @@ mk_SETUP: mk_CROSS: mk_SETUP @\$(call echo_PHASE,Cross Tool) - @(sudo \$(SU_LUSER) "source .bashrc && cd \$(MOUNT_PT)/\$(SCRIPT_ROOT) && make AS_LUSER" ) + @(sudo \$(SU_LUSER) "source .bashrc && cd \$(MOUNT_PT)/\$(SCRIPT_ROOT) && make SHELL=/bin/bash AS_LUSER" ) @touch \$@ mk_SUDO: mk_CROSS - @sudo make SUDO + @sudo make SHELL=/bin/bash SUDO @touch \$@ #---------------AS ROOT diff --git a/CLFS2/master.sh b/CLFS2/master.sh index 2b55d2d..1da790e 100755 --- a/CLFS2/master.sh +++ b/CLFS2/master.sh @@ -479,17 +479,17 @@ ck_UID: mk_SETUP: @\$(call echo_SU_request) - @sudo make SETUP + @sudo make SHELL=/bin/bash SETUP @touch \$@ mk_LUSER: mk_SETUP @\$(call echo_SULUSER_request) - @(sudo \$(SU_LUSER) "source .bashrc && cd \$(MOUNT_PT)/\$(SCRIPT_ROOT) && make LUSER" ) + @(sudo \$(SU_LUSER) "source .bashrc && cd \$(MOUNT_PT)/\$(SCRIPT_ROOT) && make SHELL=/bin/bash LUSER" ) @sudo make restore-luser-env @touch \$@ mk_ROOT: - @sudo make ROOT + @sudo make SHELL=/bin/bash ROOT @touch \$@ SETUP: $host_prep diff --git a/HLFS/master.sh b/HLFS/master.sh index 2e429a0..5c56a37 100755 --- a/HLFS/master.sh +++ b/HLFS/master.sh @@ -569,17 +569,17 @@ ck_UID: mk_SETUP: @\$(call echo_SU_request) - @sudo make SETUP + @sudo make SHELL=/bin/bash SETUP @touch \$@ mk_LUSER: mk_SETUP @\$(call echo_SULUSER_request) - @(sudo \$(SU_LUSER) "source .bashrc && cd \$(MOUNT_PT)/\$(SCRIPT_ROOT) && make LUSER" ) + @(sudo \$(SU_LUSER) "source .bashrc && cd \$(MOUNT_PT)/\$(SCRIPT_ROOT) && make SHELL=/bin/bash LUSER" ) @sudo make restore-luser-env @touch \$@ mk_SUDO: mk_LUSER - @sudo make SUDO + @sudo make SHELL=/bin/bash SUDO @touch \$@ mk_CHROOT: mk_SUDO diff --git a/LFS/master.sh b/LFS/master.sh index 26ca614..1e64972 100755 --- a/LFS/master.sh +++ b/LFS/master.sh @@ -455,17 +455,17 @@ ck_UID: mk_SETUP: @\$(call echo_SU_request) - @sudo make SETUP + @sudo SHELL=/bin/bash make SETUP @touch \$@ mk_LUSER: mk_SETUP @\$(call echo_SULUSER_request) - @( sudo \$(SU_LUSER) "source .bashrc && cd \$(MOUNT_PT)/\$(SCRIPT_ROOT) && make LUSER" ) + @( sudo \$(SU_LUSER) "source .bashrc && cd \$(MOUNT_PT)/\$(SCRIPT_ROOT) && make SHELL=/bin/bash LUSER" ) @sudo make restore-luser-env @touch \$@ mk_SUDO: mk_LUSER - @sudo make SUDO + @sudo make SHELL=/bin/bash SUDO touch \$@ # # The convoluted piece of code below is necessary to provide 'make' with a valid shell in the