xbps-src: do not fail if XBPS_CACHEDIR is unset.
This commit is contained in:
parent
8b40d5cd68
commit
4d086d2b1d
1 changed files with 4 additions and 0 deletions
|
@ -59,6 +59,10 @@ mount_chroot_fs()
|
|||
;;
|
||||
*) blah=/${f};;
|
||||
esac
|
||||
if [ -z "$XBPS_CACHEDIR" -a "$f" = "cachedir" ]; then
|
||||
echo "unset, ignoring."
|
||||
continue
|
||||
fi
|
||||
[ ! -d ${blah} ] && echo "failed." && continue
|
||||
@@XBPS_INSTALL_LIBEXECDIR@@/xbps-src-chroot-capmount \
|
||||
${dowrite} ${blah} ${XBPS_MASTERDIR}/${f} \
|
||||
|
|
Loading…
Reference in a new issue