Bug 11440 - Unquoted $TERM in /etc/profile.d/color_ls.sh
: Unquoted $TERM in /etc/profile.d/color_ls.sh
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/coreutils)
: unstable
: all Linux
: P2 minor
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2007-04-10 13:38 by
Modified: 2009-05-10 09:33 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2007-04-10 13:38:15
/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 From 2007-04-10 18:46:00 -------
Fixed in coreutils-5.97-alt4.