02.04.2017 02:18, David C. Rankin пишет:
On 04/01/2017 05:49 PM, Yamaban wrote:
If I recall correctly, the libreoffice 'find' error are innocuous, but isn't there something we can do the clean them up?
Sorry to say so, but you are barking at the wrong tree.
Here the error is caused by the content of the ".bashrc" file of YOUR local root-account.
Edit that file, find out what is wrong (Hint: one space too much, and a missing "$" is the most likely cause. Line 129: AS IS NOW: 'done < <(find "$1" -type f)' SHOULD BE: 'done << $(find "$1" -type f)' (Most likely, can't read your private /root/.bashrc at all)
- Yamaban
No,
It's not my .bashrc. The part of the function that locates the oldest file in a directory, uses rank-basic *process substitution*, and is 100% correct e.g.:
## oldest file in directory lsoldest() { [ -z "$1" ] && { printf "usage: %s dirname (for oldest)\n" "${0//*\//}" return 1 } local oldest unset -v oldest while IFS= read -r i; do [ "$i" -ot "$oldest" -o "$oldest" = "" ] && oldest="$i" done < <(find "$1" -type f) echo "$oldest" }
The 'done < <(find "$1" -type f)' is 100% correct bash.
There is no evidence that this error comes from bash running in bash mode.
Why is the libreinstall launching an interactive shell anyway?
It does not. But 129+ lines of ~/.bashrc hints at rather extensive customizations which can be everywhere, so any reply will be just stab in the dark. Examine installation scripts that libreoffice is using (someone capable of creating 129+ lines of .bashrc certainly can interpret them); run "rpm -i" in verbose mode and look at exact command invocation that returns this error). -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org