common/hooks/pre-pkg/04-generate-runtime-deps.sh: remove unused variable

This commit is contained in:
Michael Gehring 2018-05-17 20:51:15 +00:00 committed by maxice8
parent 197454c2e6
commit 7186589618

View file

@ -47,7 +47,7 @@ store_pkgdestdir_rundeps() {
} }
hook() { hook() {
local depsftmp f lf j tmplf mapshlibs sorequires _curdep local depsftmp f lf j mapshlibs sorequires _curdep
# Disable trap on ERR, xbps-uhelper cmd might return error... but not something # Disable trap on ERR, xbps-uhelper cmd might return error... but not something
# to be worried about because if there are broken shlibs this hook returns # to be worried about because if there are broken shlibs this hook returns
@ -55,7 +55,6 @@ hook() {
trap - ERR trap - ERR
mapshlibs=$XBPS_COMMONDIR/shlibs mapshlibs=$XBPS_COMMONDIR/shlibs
tmplf=$XBPS_SRCPKGDIR/$pkgname/template
if [ -n "$noarch" -o -n "$noverifyrdeps" ]; then if [ -n "$noarch" -o -n "$noverifyrdeps" ]; then
store_pkgdestdir_rundeps store_pkgdestdir_rundeps