chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH] use test -f instead of test -e (#965)


From: Jim Ursetto
Subject: Re: [Chicken-hackers] [PATCH] use test -f instead of test -e (#965)
Date: Mon, 21 Jan 2013 22:36:20 -0600

Pushed.

On Jan 21, 2013, at 2:13 PM, Felix wrote:

> A change needed for Solaris. Reported by "Mikele".
> 
> 
> cheers,
> felix
> From 7dbc4bbd71badd8f71107304f5789bde015c43ee Mon Sep 17 00:00:00 2001
> From: felix <address@hidden>
> Date: Mon, 21 Jan 2013 21:11:02 +0100
> Subject: [PATCH] Use test -f instead of test -e in identify.sh, as the sh(1) 
> variant of
> Solaris doesn't support -f.
> 
> Reported by "mikele", fixed #965.
> ---
> identify.sh |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/identify.sh b/identify.sh
> index 0d41da3..ac9d052 100755
> --- a/identify.sh
> +++ b/identify.sh
> @@ -6,7 +6,7 @@
> 
> 
> # make sure file exists anyway, since branchname is a special case
> -if test \! -e "buildbranch"; then
> +if test \! -f "buildbranch"; then
>     touch buildbranch
> fi
> 
> -- 
> 1.7.0.4
> 
> _______________________________________________
> Chicken-hackers mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/chicken-hackers




reply via email to

[Prev in Thread] Current Thread [Next in Thread]