xbps-src: verify_rundeps: make sure to unset local vars.

This commit is contained in:
Juan RP 2011-11-15 11:04:31 +01:00
parent 5cb537c96b
commit 871e7aad4a
2 changed files with 2 additions and 3 deletions

View File

@ -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.

View File

@ -23,7 +23,7 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#-
readonly XBPS_SRC_BUILD_VERSION=20111115
readonly XBPS_SRC_BUILD_VERSION=20111115-1
XBPS_CONFIG_FILE=@@XBPS_INSTALL_ETCDIR@@/xbps-src.conf
PROGNAME=$(basename $0)