Re: [ketchup] patch to allow for moving of .gitignore in 2.6.14

From: Matt Mackall
Date: Sun Oct 30 2005 - 13:05:55 EST


On Sat, Oct 29, 2005 at 11:48:07PM -0400, Steven Rostedt wrote:
>
> On Sun, 30 Oct 2005, David Weinehall wrote:
> >
> > Uhm, this patch assumes that you're using bash as /bin/sh.
> > Not everyone does. (I haven't checked the rest of the system calls
> > in ketchup though, maybe this is a more generic problem?)
>
> OK, if I work any more on ketchup, I'm going to convert the whole damn
> thing into perl! ;-} (and call it "mustard").
>
> Is this patch better? It even tests the version of tar and if it is less
> than 1.15 it uses --strip-path (the old name) and if it is 1.15 or greater
> it uses --strip-components (the new name). And if it fails the version
> test all together, it goes back to the old (broken) method of just moving
> the contents.
>
> Is this robust enough for you?

Yep, looks good. Applied and pushed.

--
Mathematics is the supreme nostalgia of our time.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/