Changeset 3780 in MondoRescue for branches/3.3/mindi/mindi


Ignore:
Timestamp:
Jan 25, 2021, 7:43:10 PM (3 years ago)
Author:
Bruno Cornec
Message:

normalize usage of syslinux variable with dirname

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mindi/mindi

    r3778 r3780  
    22882288                LogFile "INFO: Copying $LDLINUXE64 to $efidir"
    22892289                cp $LDLINUXE64 $efidir 2>> $LOGFILE || Die "Cannot copy $LDLINUXE64 to $efidir). Did you run out of disk space?"
    2290                 cp $LDLINUXE64/../libutil.c32 $efidir 2>> $LOGFILE || Die "Cannot copy libutil.c32 to $efidir). Did you run out of disk space?"
    2291                 if [ -e $LDLINUXE64/../isolinux.c32 ]; then
    2292                     cp $LDLINUXE64/../isolinux.c32 $efidir 2>> $LOGFILE || Die "Cannot copy isolinux.c32 to $efidir). Did you run out of disk space?"
     2290                cp $(dirname $LDLINUXE64)/libutil.c32 $efidir 2>> $LOGFILE || Die "Cannot copy libutil.c32 to $efidir). Did you run out of disk space?"
     2291                if [ -e $(dirname $LDLINUXE64)/isolinux.c32 ]; then
     2292                        cp $(dirname $LDLINUXE64)/isolinux.c32 $efidir 2>> $LOGFILE || Die "Cannot copy isolinux.c32 to $efidir). Did you run out of disk space?"
    22932293                fi
    22942294            fi
     
    23072307        cp $LDLINUXC32 "$tgdir" 2>> $LOGFILE || Die "Cannot copy $LDLINUXC32 to $tgdir. Did you run out of disk space?"
    23082308    fi
    2309     if [ -e `dirname $LDLINUXC32`/isolinux.c32 ]; then
     2309    if [ -e $(dirname $LDLINUXC32)/isolinux.c32 ]; then
    23102310        LogFile "INFO: Copying isolinux.c32 to $tgdir"
    2311         cp `dirname $LDLINUXC32`/isolinux.c32 $tgdir 2>> $LOGFILE || Die "Cannot copy isolinux.c32 to $tgdir). Did you run out of disk space?"
     2311        cp $(dirname $LDLINUXC32)/isolinux.c32 $tgdir 2>> $LOGFILE || Die "Cannot copy isolinux.c32 to $tgdir). Did you run out of disk space?"
    23122312    fi
    23132313
Note: See TracChangeset for help on using the changeset viewer.