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
1 changed files with 6 additions and 0 deletions
|
@ -222,6 +222,12 @@ build-pkg)
|
||||||
. $XBPS_SHUTILSDIR/tmpl_funcs.sh
|
. $XBPS_SHUTILSDIR/tmpl_funcs.sh
|
||||||
if [ "$2" = "all" ]; then
|
if [ "$2" = "all" ]; then
|
||||||
for f in $($XBPS_BIN_CMD list|awk '{print $1}'); do
|
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
|
setup_tmpl $f
|
||||||
xbps_make_binpkg
|
xbps_make_binpkg
|
||||||
reset_tmpl_vars
|
reset_tmpl_vars
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue