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?