From bf6c8ea7527bd104c9d2f0a3fd02fe36f0781be7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Va=C5=A1=C3=ADk?= Date: Wed, 6 Nov 2013 14:24:54 +0100 Subject: [PATCH] Fix minor issue in colorls.csh script with noclobber on (reported by Ty! Boyack) --- coreutils-colorls.csh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreutils-colorls.csh b/coreutils-colorls.csh index d02fe85..f2138a9 100755 --- a/coreutils-colorls.csh +++ b/coreutils-colorls.csh @@ -33,7 +33,7 @@ if ( ! -e "$COLORS" ) exit set _tmp="`mktemp .colorlsXXX --tmpdir=/tmp`" -if ( "$INCLUDE" != '' ) cat "$INCLUDE" > $_tmp +if ( "$INCLUDE" != '' ) cat "$INCLUDE" >> $_tmp grep -v '^INCLUDE' "$COLORS" >> $_tmp eval "`dircolors -c $_tmp`"