зеркало из https://github.com/mozilla/pjs.git
Bug 375415, update packaging breaks with filenames containing a space, p=Rob Marshall (tH, rdmsoft@bugs.rdmsoft.com), r=bsmedberg
This commit is contained in:
Родитель
0751a915ec
Коммит
dc0d450713
|
@ -101,11 +101,12 @@ list_files() {
|
|||
find . -type f \
|
||||
! -name "channel-prefs.js" \
|
||||
! -name "update.manifest" \
|
||||
! -name "temp-filelist" \
|
||||
| sed 's/\.\/\(.*\)/\1/' \
|
||||
| sort > "$workdir/temp-filelist"
|
||||
| sort > "temp-filelist"
|
||||
while read file; do
|
||||
eval "${1}[$count]=\"$file\""
|
||||
(( count++ ))
|
||||
done < "$workdir/temp-filelist"
|
||||
rm "$workdir/temp-filelist"
|
||||
done < "temp-filelist"
|
||||
rm "temp-filelist"
|
||||
}
|
||||
|
|
|
@ -150,7 +150,7 @@ for ((i=0; $i<$num_newfiles; i=$i+1)); do
|
|||
|
||||
# If we've already tested this file, then skip it
|
||||
for ((j=0; $j<$num_oldfiles; j=$j+1)); do
|
||||
if [ "\"$f\"" = "${oldfiles[j]}" ]; then
|
||||
if [ "$f" = "${oldfiles[j]}" ]; then
|
||||
continue 2
|
||||
fi
|
||||
done
|
||||
|
|
Загрузка…
Ссылка в новой задаче