Ignore:
Timestamp:
Apr 6, 2008, 9:25:45 PM (16 years ago)
Author:
acrefoot
Message:
Fixed bug involving build-update.

If $patchdir/oldfiles.absent was empty, it would die incorrectly.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • locker/update-system/bin/build-update

    r710 r711  
    131131
    132132[ "$found" = "yes" ] || die "error: Correct version not found."
    133 xargs -n1 test ! -e <"$patchdir/oldfiles.absent" || die "error: Conflicting files exist."
     133[ -s "$patchdir/oldfiles.absent" ] && (xargs -n1 test ! -e <"$patchdir/oldfiles.absent" || die "error: Conflicting files exist." )
    134134[ -s "$patchdir/check.md5" ] && (md5sum -c "$patchdir/check.md5" || die "error: MD5 check failed.")
    135135patch -stN --dry-run --no-backup-if-mismatch -p2 <"$patchdir/update.diff" || die "error: Patch dry run failed."
Note: See TracChangeset for help on using the changeset viewer.