xbps-src: ignore pkgs with unexistent destdir in 'build-pkg all'.
--HG-- extra : convert_revision : 7fe1a6d09fb90bed64b93f7b589641a34036511a
This commit is contained in:
parent
27c5d48ec6
commit
2ff54fadeb
|
@ -222,6 +222,12 @@ build-pkg)
|
|||
. $XBPS_SHUTILSDIR/tmpl_funcs.sh
|
||||
if [ "$2" = "all" ]; then
|
||||
for f in $($XBPS_BIN_CMD list|awk '{print $1}'); do
|
||||
version=$($XBPS_REGPKGDB_CMD version $f)
|
||||
if [ ! -d $XBPS_DESTDIR/$f-$version ]; then
|
||||
echo -n "Ignoring $f-$version, no destination "
|
||||
echo "directory!"
|
||||
continue
|
||||
fi
|
||||
setup_tmpl $f
|
||||
xbps_make_binpkg
|
||||
reset_tmpl_vars
|
||||
|
|
Loading…
Reference in New Issue