Summary: | etc-update fails after trivial merges - syntax error on line 108 | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Jeff Sweeney <kintoshmalae> |
Component: | Tools | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED WORKSFORME | ||
Severity: | major | ||
Priority: | High | ||
Version: | 2.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Requested attachment: bash -x /usr/sbin/etc-update |
Description
Jeff Sweeney
2006-01-24 06:04:56 UTC
Try running `bash -x /usr/sbin/etc-update` and attach the output. Created attachment 78127 [details]
Requested attachment: bash -x /usr/sbin/etc-update
+ for file in '`ls ${TMP}/files|sort -n`' + (( 0 == 0 )) + isfirst='[00m[00m1[00m' /usr/sbin/etc-update: line 108: [00m[00m1[00m: syntax error: operand expected (error token is "[00m[00m1[00m") Did you replace /bin/ls with a script that calls `ls --color=always or so`? If you do, please revert that change. It'll break lots of things. Instead you should use `alias ls='ls --color'` to achieve your goal in a safer way. assuming that was the problem, feel free to reopen if that's not the case |