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

From: David Weinehall
Date: Sat Oct 29 2005 - 20:20:53 EST


On Sat, Oct 29, 2005 at 05:06:21PM -0400, Steven Rostedt wrote:
[snip]

> Index: Ketchup-d9503020b3c1/ketchup
> ===================================================================
> --- Ketchup-d9503020b3c1.orig/ketchup 2005-10-28 08:38:50.000000000 -0400
> +++ Ketchup-d9503020b3c1/ketchup 2005-10-28 10:45:43.000000000 -0400
> @@ -482,7 +482,7 @@
> error("Unpacking failed: ", err)
> sys.exit(-1)
>
> - err = os.system("mv linux*/* . ; rmdir linux*")
> + err = os.system("shopt -s dotglob; mv linux*/* . ; rmdir linux*")
> if err:
> error("Unpacking failed: ", err)
> sys.exit(-1)


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?)


Regards: David Weinehall
--
/) David Weinehall <tao@xxxxxxxxxx> /) Northern lights wander (\
// Maintainer of the v2.0 kernel // Dance across the winter sky //
\) http://www.acc.umu.se/~tao/ (/ Full colour fire (/
-
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/