Fix possible noclobber issue in colorls.sh as well

This commit is contained in:
Ondřej Vašík 2013-11-06 16:18:23 +01:00
parent afe488cc19
commit 6f1fcbc4c6
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ if [ -z "$USER_LS_COLORS" ]; then
TMP="`mktemp .colorlsXXX --tmpdir=/tmp`"
[ -e "$INCLUDE" ] && cat "$INCLUDE" > $TMP
[ -e "$INCLUDE" ] && cat "$INCLUDE" >> $TMP
grep -v '^INCLUDE' "$COLORS" >> $TMP
eval "`dircolors --sh $TMP 2>/dev/null`"