Changeset d601cfc for LFS/master.sh


Ignore:
Timestamp:
03/10/2017 08:23:57 PM (7 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs-more, legacy, trunk
Children:
abc276c
Parents:
3d24e5b
Message:

Fix logic for copying fstab. That stupid bug wanted to copy fstab when
FSTAB was empty!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LFS/master.sh

    r3d24e5b rd601cfc  
    313313    case ${this_script} in
    314314      *grub)    continue ;;
    315       *fstab)   [[ ! -z ${FSTAB} ]] &&
     315      *fstab)   [[ -z "${FSTAB}" ]] ||
    316316                [[ ${FSTAB} == $BUILDDIR/sources/fstab ]] ||
    317317                cp ${FSTAB} $BUILDDIR/sources/fstab ;;
     
    367367      # Check if we have a real /etc/fstab file
    368368    case "${this_script}" in
    369       *fstab) if [[ -n $FSTAB ]]; then
     369      *fstab) if [[ -n "$FSTAB" ]]; then
    370370                CHROOT_wrt_CopyFstab
    371371              else
Note: See TracChangeset for help on using the changeset viewer.