mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 535090, Nightly partial updater doesn't preserve +x bit on new binaries, r=ccooper (NPOTB)
--HG-- extra : rebase_source : 4de9f3a116610285fcd49b3186024d4886b4500e
This commit is contained in:
parent
f9279e35d6
commit
0371742ad4
@ -115,6 +115,7 @@ for ((i=0; $i<$num_oldfiles; i=$i+1)); do
|
||||
# The full workdir may not exist yet, so create it if necessary.
|
||||
mkdir -p `dirname "$workdir/$f"`
|
||||
$BZIP2 -cz9 "$newdir/$f" > "$workdir/$f"
|
||||
copy_perm "$newdir/$f" "$workdir/$f"
|
||||
make_add_instruction "$f" >> $manifest
|
||||
archivefiles="$archivefiles \"$f\""
|
||||
continue 1
|
||||
@ -129,6 +130,7 @@ for ((i=0; $i<$num_oldfiles; i=$i+1)); do
|
||||
$MBSDIFF "$olddir/$f" "$newdir/$f" "$workdir/$f.patch"
|
||||
$BZIP2 -z9 "$workdir/$f.patch"
|
||||
$BZIP2 -cz9 "$newdir/$f" > "$workdir/$f"
|
||||
copy_perm "$newdir/$f" "$workdir/$f"
|
||||
patchfile="$workdir/$f.patch.bz2"
|
||||
patchsize=$(get_file_size "$patchfile")
|
||||
fullsize=$(get_file_size "$workdir/$f")
|
||||
@ -166,6 +168,7 @@ for ((i=0; $i<$num_newfiles; i=$i+1)); do
|
||||
mkdir -p "$dir"
|
||||
|
||||
$BZIP2 -cz9 "$newdir/$f" > "$workdir/$f"
|
||||
copy_perm "$newdir/$f" "$workdir/$f"
|
||||
|
||||
make_add_instruction "$f" >> "$manifest"
|
||||
archivefiles="$archivefiles \"$f\""
|
||||
|
Loading…
Reference in New Issue
Block a user