Changeset 694
- Timestamp:
- Mar 16, 2008, 6:43:53 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
locker/update-system/bin/build-update
r693 r694 99 99 copy(catfile($proposaldir, "update.diff"), catfile($outdir, "update.diff")) or die "Couldn't copy update.diff: $!"; 100 100 101 if (-d catfile($proposaldir, "extra")) { 102 system('/bin/cp', '-pr', catfile($proposaldir, "extra"), catfile($outdir, "extra")) 103 and die "Couldn't copy extra: $!"; 104 } 105 101 106 open (SCRIPT, ">", catfile($outdir, "update")) or die "Couldn't write update: $!"; 102 107 printf SCRIPT <<'EOF', catfile("/mit/scripts/deploy/", $old), catfile("/mit/scripts/deploy/", $new); … … 136 141 xargs rm -f <"$patchdir/files.delete" 137 142 tar -xzf "$patchdir/newfiles.tar.gz" 143 [ -e "$patchdir/extra/postpatch.sh" ] && . "$patchdir/extra/postpatch.sh" 138 144 ( 139 145 cat .scripts-version.old
Note: See TracChangeset
for help on using the changeset viewer.