[sbopkg-users] strange error depending on run directory
slakmagik
jsunx1 at bellsouth.net
Mon Mar 9 20:47:45 UTC 2009
On 2009-03-09 (Mon) 19:49:27 [+0100], mc collilieux wrote:
> Hello, I am a new member of this list, with slackware 12.1
Welcome. :)
> I have a little problem with sbopkg, in line 99
> KEEPLOG=$(echo "$KEEPLOG" | tr [[:lower:]] [[:upper:]])
>
> when I run it (as root but in my user home) i have this error message:
>
> tr: construit [[:upper:]] et/ou [[:lower:]] mal aligné
> (tr: built [[:upper:]] and/or [[:lower:]] misaligned ?)
Je ne parle pas français (is that right?) but:
misaligned [[:upper:]] and/or [[:lower:]] construct
>
> ERROR
> sbopkg: Can't find a value for variable(s):
> KEEPLOG
>
> when I run it outside \home\myuser, it's OK, strange ? What can be this
> problem, I think perhaps false rights ?
>
I'm not really sure what the problem is. I doubt it's a permissions
issue, though it could be. Is KEEPLOG set in the conf file(s) (root and
user may be accessing different conf files) and to what? What is the
literal pathname of /home/myuser and what odd files might be in it? Are
root and user's locale settings or other possibly related values
different?
In any case, does changing line 99 to
KEEPLOG=$(echo "$KEEPLOG" | tr "[:lower:]" "[:upper:]")
help? I hope that'll do it but, if not, for troubleshooting purposes,
does
KEEPLOG=$(echo "$KEEPLOG" | tr a-z A-Z)
work, just considering those characters?
More information about the sbopkg-users
mailing list