Closed
Bug 544420
Opened 16 years ago
Closed 16 years ago
backupsnip fails when only adding new directories
Categories
(Release Engineering :: General, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: nthomas, Assigned: nthomas)
References
Details
Attachments
(1 file, 1 obsolete file)
|
860 bytes,
patch
|
catlee
:
review+
nthomas
:
checked-in+
|
Details | Diff | Splinter Review |
$ ~/bin/backupsnip 20100204-Firefox-3.0.18-3.6-MU-test
Ignoring Firefox/3.0.18/Darwin_Universal-gcc3
Ignoring Firefox/3.0.18/Linux_x86-gcc3
Ignoring Firefox/3.0.18/WINNT_x86-msvc
Running time /bin/tar cfvz /opt/aus2/snippets/backup/20100204-1-pre-20100204-Firefox-3.0.18-3.6-MU-test.tar.gz
/bin/tar: Cowardly refusing to create an empty archive
Try `/bin/tar --help' or `/bin/tar --usage' for more information.
Those major update snippets only add the directories listed.
Attachment #425377 -
Flags: review?(catlee)
Comment 1•16 years ago
|
||
Comment on attachment 425377 [details] [diff] [review]
Exit early if no directories to backup
if $args has more than one entry, then '[ -z $args ]' errors out with '[: 5: file1: unexpected operator' (or somesuch)
I think $args needs to be in double quotes.
Attachment #425377 -
Flags: review?(catlee) → review-
| Assignee | ||
Comment 2•16 years ago
|
||
"-bash: [: too many arguments" is the error. Adds the suggested quotes to resolve the problem.
Attachment #425377 -
Attachment is obsolete: true
Attachment #428165 -
Flags: review?(catlee)
Updated•16 years ago
|
Attachment #428165 -
Flags: review?(catlee) → review+
| Assignee | ||
Comment 3•16 years ago
|
||
Comment on attachment 428165 [details] [diff] [review]
Quote list of dirs to keep bash a happy camper
Checking in backupsnip;
/cvsroot/mozilla/tools/release/bin/backupsnip,v <-- backupsnip
new revision: 1.6; previous revision: 1.5
done
Attachment #428165 -
Flags: checked-in+
| Assignee | ||
Comment 4•16 years ago
|
||
Updated the checkout on aus2-staging and staging-stage (this one was at v1.3 of backupsnip and wasn't running backupsnip-nightly, fixed).
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•