test01_pkgquality: Do not use the operator '|&'. Use instead '2>&1 |' which is compatible at least with bash 3.2
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
ffc10a6e87
commit
4c24d74501
@ -15,6 +15,11 @@ Changes in version 1.12.6
|
||||
* autospec.spec - Davide Madrisan:
|
||||
Add a missing build requirement: make.
|
||||
|
||||
+ update
|
||||
* tests/test01_pkgquality - Davide Madrisan:
|
||||
Do not use the operator '|&'. Use instead '2>&1 |' which is compatible at
|
||||
least with bash 3.2.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Changes in version 1.12.5
|
||||
|
@ -264,7 +264,7 @@ $(LC_ALL=C ldd -d -r "$f" 2>/dev/null |& grep "undefined symbol")"
|
||||
if [ "$undefsyms" ]; then
|
||||
notify.warning "${NOTE}${pck##*/}${NORM}"
|
||||
echo -n "${CRIT}"
|
||||
LC_ALL=C ldd -d -r "$f" 2>/dev/null |& \
|
||||
LC_ALL=C ldd -d -r "$f" 2>&1 | \
|
||||
grep "undefined symbol" | sed "s,.*, - &,"
|
||||
echo -n "${NORM}"
|
||||
let "total_issues += 1"
|
||||
|
Loading…
Reference in New Issue
Block a user