Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 121025
Collapse All | Expand All

(-)shtool.orig (+13 lines)
Lines 59-64 Link Here
59
##    path       Deal with program paths
59
##    path       Deal with program paths
60
##
60
##
61
61
62
# NLS nuisances.
63
for as_var in \
64
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
65
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
66
  LC_TELEPHONE LC_TIME
67
do
68
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
69
    eval $as_var=C; export $as_var
70
  else
71
    unset $as_var
72
  fi
73
done
74
62
if [ $# -eq 0 ]; then
75
if [ $# -eq 0 ]; then
63
    echo "$0:Error: invalid command line" 1>&2
76
    echo "$0:Error: invalid command line" 1>&2
64
    echo "$0:Hint:  run \`$0 -h' for usage" 1>&2
77
    echo "$0:Hint:  run \`$0 -h' for usage" 1>&2

Return to bug 121025