xbps-src: make -p work with the 'make-repoidx' target.
This commit is contained in:
parent
96c3b3db65
commit
c0fb9c3805
1 changed files with 3 additions and 0 deletions
|
@ -288,6 +288,9 @@ list|listfiles)
|
||||||
list_pkg_files $2
|
list_pkg_files $2
|
||||||
;;
|
;;
|
||||||
make-repoidx)
|
make-repoidx)
|
||||||
|
if [ -n "${_PACKAGEDIR}" ]; then
|
||||||
|
export XBPS_PACKAGESDIR=${_PACKAGEDIR}
|
||||||
|
fi
|
||||||
echo "=> Updating package index for local repository at"
|
echo "=> Updating package index for local repository at"
|
||||||
echo " $XBPS_PACKAGESDIR..."
|
echo " $XBPS_PACKAGESDIR..."
|
||||||
${XBPS_REPO_CMD} genindex ${XBPS_PACKAGESDIR} 2>/dev/null
|
${XBPS_REPO_CMD} genindex ${XBPS_PACKAGESDIR} 2>/dev/null
|
||||||
|
|
Loading…
Reference in a new issue