Changeset 9225661


Ignore:
Timestamp:
02/10/2012 01:56:57 PM (12 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
3158dfa
Parents:
f663589
Message:

Correct testing of emptyness of builddir, which may fail if
the user lacks read permissions on some dir (root, lost+found...)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/common-functions

    rf663589 r9225661  
    5050if [ "${CLEAN}" = "y" ]; then
    5151  # If empty (i.e. could contain lost+found), do not do anything
    52   if $(ls $BUILDDIR/* > /dev/null 2>&1) &&
     52  if $(ls -d $BUILDDIR/* > /dev/null 2>&1) &&
    5353       [ "$(ls $BUILDDIR)" != "lost+found" ]; then
    5454    # Test to make sure that the build directory was populated by jhalfs
Note: See TracChangeset for help on using the changeset viewer.