git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [Patch] trap: exit: invalid signal specification

From
Junio C Hamano <junkio@cox.net>
Date
Jun 24, 2006, 02:50 UTC
Message-ID
<7vejxf5ktc.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<200606240410.18334.caglar@pardus.org.tr>
Show 11 quoted lines
> diff -ur git-1.4.0.orig/git-clone.sh git-1.4.0/git-clone.sh
> --- git-1.4.0.orig/git-clone.sh 2006-06-10 22:41:54.000000000 +0300
> +++ git-1.4.0/git-clone.sh      2006-06-24 03:54:49.000000000 +0300
> @@ -205,7 +205,7 @@
>  [ -e "$dir" ] && echo "$dir already exists." && usage
>  mkdir -p "$dir" &&
>  D=$(cd "$dir" && pwd) &&
> -trap 'err=$?; cd ..; rm -r "$D"; exit $err' 0
> +trap 'err=$?; cd ..; rm -r "$D"; EXIT $err' 0
>  case "$bare" in
>  yes)

I am not quite sure what to make out this... Do you mean your shell does not like the command "exit" spelled in lowercase under Turkic locale?

Previous: S.Çağlar OnurNext: S.Çağlar Onur
Message 2 of 5 in “trap: exit: invalid signal specification”
  1. trap: exit: invalid signal specificationS.Çağlar Onur, Jun 24, 2006
  2. Junio C HamanoJun 24, 2006
  3. S.Çağlar OnurJun 24, 2006
  4. Matthias LederhoferJun 24, 2006
  5. S.Çağlar OnurJun 25, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.