Changeset 447 for locker


Ignore:
Timestamp:
Oct 6, 2007, 12:12:31 PM (17 years ago)
Author:
quentin
Message:
Silly typos...
File:
1 edited

Legend:

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

    r446 r447  
    5252
    5353open(CHECKMD5, ">", catfile($outdir, "check.md5")) or die "Can't open check.md5: $!";
    54 print CHECKMD5 map { join(" ", @{$_})."\n" } @todelete, @toreplace;
     54print CHECKMD5 map { join("  ", @{$_})."\n" } @todelete, @toreplace;
    5555close(CHECKMD5);
    5656
     
    9292xargs -n1 test ! -e <"$patchdir/oldfiles.absent" || die "error: Conflicting files exist."
    9393md5sum -c "$patchdir/check.md5" || die "error: MD5 check failed."
    94 patch -stN --dry-run --no-backup-if-mismatch -p1 <"$patchdir/update.diff" || due "error: Patch dry run failed."
     94patch -stN --dry-run --no-backup-if-mismatch -p2 <"$patchdir/update.diff" || due "error: Patch dry run failed."
    9595
    9696echo "[$PWD] dry run OK, applying update"
    9797
    9898mv .scripts-version .scripts-version.old
    99 patch -stN --no-backup-if-mismatch -p1 <"$patchdir/update.diff" || :
     99patch -stN --no-backup-if-mismatch -p2 <"$patchdir/update.diff" || :
    100100xargs rm -f <"$patchdir/files.delete"
    101101cp -a "$patchdir/newfiles/." .
Note: See TracChangeset for help on using the changeset viewer.