Changeset c180dec for common


Ignore:
Timestamp:
03/19/2007 06:27:00 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
b11c10b
Parents:
ace8142
Message:

Don't mess with SHELL settings.

Location:
common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • common/libs/func_wrt_Makefile

    race8142 rc180dec  
    106106$i:  $PREV
    107107        @\$(call echo_message, Building)
    108         @export SHELL=\$(SHELL) && \$(SHELL) progress_bar.sh \$@ \$\$PPID &
     108        @export BASHBIN=\$(SHELL) && \$(SHELL) progress_bar.sh \$@ \$\$PPID &
    109109        @echo "\$(nl_)\`date\`\$(nl_)" >logs/\$@
    110110        @\$(PRT_DU) >>logs/\$@
     
    123123$i:  $PREV
    124124        @\$(call echo_message, Building)
    125         @export SHELL=\$(SHELL) && \$(SHELL) progress_bar.sh \$@ \$\$PPID &
     125        @export BASHBIN=\$(SHELL) && \$(SHELL) progress_bar.sh \$@ \$\$PPID &
    126126        @echo "\$(nl_)\`date\`\$(nl_)" >logs/\$@
    127127        @\$(PRT_DU_CR) >>logs/\$@
  • common/progress_bar.sh

    race8142 rc180dec  
    2525
    2626# Prevent segfault on stripping phases
    27 if [[ "$SHELL" = "/bin/bash" ]] ; then
     27if [[ "$BASHBIN" = "/tools/bin/bash" ]] ; then
     28  SLEEP=/tools/bin/sleep
     29else
    2830  SLEEP=/bin/sleep
    29 else
    30   SLEEP=/tools/bin/sleep
    3131fi
    3232
Note: See TracChangeset for help on using the changeset viewer.