1 |
Sorry, was my mistake, i have overseen it. But please use quotation marks for |
2 |
${FILENAME} if in |
3 |
some time a blank or something like this happens in it. |
4 |
But this solution won't be good at all, only a small hack for the ppl who |
5 |
scream for this feature. |
6 |
|
7 |
cu |
8 |
|
9 |
Am Donnerstag, 11. November 2004 16:18 schrieb Peter Simons: |
10 |
> Locke writes: |
11 |
> > why do you extract all files in the tar archive? |
12 |
> |
13 |
> Oh shit! I forgot to explain something! Look closely at the |
14 |
> line you neglected to quote: |
15 |
> |
16 |
> /bin/tar --exclude=CVS -cjf ${FILENAME} portage |
17 |
> |
18 |
> First of, the lack of any '+' or '-' in front of it means |
19 |
> that I actually didn't modify it in any way but that it was |
20 |
> in the script to begin with. So it is not quite exactly my |
21 |
> "code". |
22 |
> |
23 |
> Secondly, if you look real hard, you'll find the use of the |
24 |
> flag '-c' on that command. This is an abbreviation for |
25 |
> "create", which means that the command creates a tar |
26 |
> archive. So it's not really extracting anything from the |
27 |
> archive. If you want to know more about this, check out |
28 |
> this: |
29 |
> |
30 |
> man tar |
31 |
> |
32 |
> > And please stop your sarcastic expressions. |
33 |
> |
34 |
> Just did. |
35 |
> |
36 |
> Peter |
37 |
> |
38 |
> |
39 |
> -- |
40 |
> gentoo-security@g.o mailing list |
41 |
|
42 |
-- |
43 |
gentoo-security@g.o mailing list |