Changeset 15537d5


Ignore:
Timestamp:
04/28/2006 04:53:14 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
041bc01
Parents:
d9a53e0
Message:

Removed unneeded true commands.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • CLFS/master.sh

    rd9a53e0 r15537d5  
    132132    # If $vrs isn't empty, we've got a package...
    133133    #
    134     [[ "$vrs" != "" ]] && wrt_unpack "$name-$vrs.tar.*" &&  echo -e '\ttrue' >> $MKFILE.tmp
     134    [[ "$vrs" != "" ]] && wrt_unpack "$name-$vrs.tar.*"
    135135    #
    136136    wrt_run_as_su "${this_script}" "${file}"
     
    184184    # Insert instructions for unpacking the package and to set the PKGDIR variable.
    185185    #
    186     [[ "$vrs" != "" ]] && wrt_unpack "$name-$vrs.tar.*" && echo -e '\ttrue' >> $MKFILE.tmp
     186    [[ "$vrs" != "" ]] && wrt_unpack "$name-$vrs.tar.*"
    187187    #
    188188    wrt_run_as_su "${this_script}" "${file}"
     
    255255    # Insert instructions for unpacking the package and changing directories
    256256    #
    257     [[ "$vrs" != "" ]] && wrt_unpack "$name-$vrs.tar.*" &&  echo -e '\ttrue' >> $MKFILE.tmp
     257    [[ "$vrs" != "" ]] && wrt_unpack "$name-$vrs.tar.*"
    258258    #
    259259    # Select a script execution method
     
    323323    if [ "$vrs" != "" ] ; then
    324324      case $this_script in
    325         *util-linux)    wrt_unpack  "$name-$vrs.tar.*"
    326                         echo -e '\ttrue' >> $MKFILE.tmp
    327             ;;
    328         *)              wrt_unpack2 "$name-$vrs.tar.*"
    329             ;;
     325        *util-linux)    wrt_unpack  "$name-$vrs.tar.*"  ;;
     326        *)              wrt_unpack2 "$name-$vrs.tar.*"  ;;
    330327      esac
    331328    fi
  • HLFS/master.sh

    rd9a53e0 r15537d5  
    236236    case $this_script in
    237237      *binutils* )  # Dump the path to sources directory for later removal
    238         echo -e '\techo "$(MOUNT_PT)$(SRC)/$$ROOT" >> sources-dir' >> $MKFILE.tmp
     238(
     239cat << EOF
     240        @ROOT=\`head -n1 /tmp/unpacked | sed 's@^./@@;s@/.*@@'\` && \\
     241        echo "\$(MOUNT_PT)\$(SRC)/\$\$ROOT" >> sources-dir
     242EOF
     243) >> $MKFILE.tmp
    239244        ;;
    240245      *adjusting* )  # For the Adjusting phase we must to cd to the binutils-build directory.
    241246        echo -e '\t@echo "export PKGDIR=$(MOUNT_PT)$(SRC)/binutils-build" > envars' >> $MKFILE.tmp
    242         ;;
    243       * )  # Everything else, add a true statment so we don't confuse make
    244         echo -e '\ttrue' >> $MKFILE.tmp
    245247        ;;
    246248    esac
  • LFS/master.sh

    rd9a53e0 r15537d5  
    113113      # Insert instructions for unpacking the package and to set the PKGDIR variable.
    114114      wrt_unpack "$FILE"
    115       echo -e '\ttrue' >> $MKFILE.tmp
    116115    fi
    117116
  • common/common-functions

    rd9a53e0 r15537d5  
    217217        @ROOT=\`head -n1 /tmp/unpacked | sed 's@^./@@;s@/.*@@'\` && \\
    218218        echo "export PKGDIR=\$(MOUNT_PT)\$(SRC)/\$\$ROOT" > envars && \\
    219         chown -R lfs \$(MOUNT_PT)\$(SRC)/\$\$ROOT && \\
     219        chown -R lfs \$(MOUNT_PT)\$(SRC)/\$\$ROOT
    220220EOF
    221221) >> $MKFILE.tmp
Note: See TracChangeset for help on using the changeset viewer.