Bug 11440

Summary: Unquoted $TERM in /etc/profile.d/color_ls.sh
Product: Sisyphus Reporter: Damir Shayhutdinov <damir>
Component: coreutilsAssignee: placeholder <placeholder>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: minor    
Priority: P2 CC: glebfm, ldv, placeholder
Version: unstable   
Hardware: all   
OS: Linux   

Description Damir Shayhutdinov 2007-04-10 13:38:15 MSD
/etc/profile.d/color_ls.sh:25

-        if [ $TERM = "emacs" ]; then
+        if [ "$TERM" = "emacs" ]; then

If TERM variable is not set, following error message is displayed

/etc/profile.d/color_ls.sh:25: parse error: condition expected: =

if I try to rsync some file to ALT Sisyphus mashine from FC5 with
rsync <localfile> alt_mashine:<alt_path>
Comment 1 Dmitry V. Levin 2007-04-10 18:46:00 MSD
Fixed in coreutils-5.97-alt4.