Changeset cc232d3


Ignore:
Timestamp:
12/23/2017 03:56:03 PM (6 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
264efc84
Parents:
0949d16
Message:

Fix a possible error in "remove-la-files.sh":
If /opt is empty, the instruction "find /opt/* ..." exits with non zero
status. The new instruction should be equivalent, but without this issue.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19619 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • introduction/important/la-files.xml

    r0949d16 rcc232d3  
    101101
    102102# Only search directories in /opt, but not symlinks to directories
    103 OPTDIRS=$(find /opt/* -maxdepth 0 -type d)
     103OPTDIRS=$(find /opt -mindepth 1 -maxdepth 1 -type d)
    104104
    105105# Move any found .la files to a directory out of the way
Note: See TracChangeset for help on using the changeset viewer.