Lines 12-18
Link Here
|
12 |
[[ ${path}/${scriptname} -ef ${scriptpath} ]] && continue |
12 |
[[ ${path}/${scriptname} -ef ${scriptpath} ]] && continue |
13 |
IFS=$' \t\n' |
13 |
IFS=$' \t\n' |
14 |
output=$("${path}/${scriptname}" "$@" 2>&1) |
14 |
output=$("${path}/${scriptname}" "$@" 2>&1) |
15 |
if [[ $? -ne 0 ]] ; then |
15 |
if [[ $? -ne 0 ]]; then |
|
|
16 |
if [[ $(wc -l <<< "${output}") -gt 100 ]]; then |
17 |
output=$(head -n100 <<< "${output}") |
18 |
output="${output}\n ... (further messages truncated)" |
19 |
fi |
20 |
|
16 |
source "${PORTAGE_BIN_PATH:-/home/benda/gnto/usr/lib/portage/bin}"/isolated-functions.sh |
21 |
source "${PORTAGE_BIN_PATH:-/home/benda/gnto/usr/lib/portage/bin}"/isolated-functions.sh |
17 |
|
22 |
|
18 |
if ! ___eapi_has_prefix_variables; then |
23 |
if ! ___eapi_has_prefix_variables; then |