xbps-src: verify_rundeps: make sure to unset local vars.
This commit is contained in:
parent
5cb537c96b
commit
871e7aad4a
2 changed files with 2 additions and 3 deletions
|
@ -100,6 +100,7 @@ verify_rundeps()
|
|||
# above, the mapping is done thru the mapping_shlib_binpkg.txt file.
|
||||
#
|
||||
for f in ${verify_deps}; do
|
||||
unset j rdep _rdep rdepcnt
|
||||
# Bail out if maplib is not aware for this lib
|
||||
rdep="$(grep "$f" $maplib|awk '{print $2}')"
|
||||
rdepcnt="$(grep "$f" $maplib|awk '{print $2}'|wc -l)"
|
||||
|
@ -112,7 +113,6 @@ verify_rundeps()
|
|||
done
|
||||
if [ -n "$found" ]; then
|
||||
echo " SONAME: $f <-> $pkgname (ignored)"
|
||||
unset found
|
||||
continue
|
||||
else
|
||||
echo " SONAME: $f <-> UNKNOWN PKG PLEASE FIX!"
|
||||
|
@ -144,7 +144,6 @@ verify_rundeps()
|
|||
if find_rundep ${_rdep}; then
|
||||
Add_dependency run ${_rdep}
|
||||
fi
|
||||
unset rdep _rdep rdepcnt
|
||||
done
|
||||
#
|
||||
# If pkg uses any SONAME not known, error out.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue