common/xbps-src: fix: cut by colon
This commit is contained in:
parent
c8e4565d12
commit
77a4b3d163
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ done
|
|||
cut -d: -f 1,2 ${XBPS_STATEDIR}/.${sourcepkg}_register_pkg | sort -u | \
|
||||
while IFS=: read -r arch repo; do
|
||||
paths=$(grep "^$arch:$repo:" "${XBPS_STATEDIR}/.${sourcepkg}_register_pkg" | \
|
||||
cut -f 2,3 | tr ':' '/')
|
||||
cut -d : -f 2,3 | tr ':' '/')
|
||||
if [ -n "${arch}" ]; then
|
||||
msg_normal "Registering new packages to $repo ($arch)\n"
|
||||
XBPS_TARGET_ARCH=${arch} $XBPS_RINDEX_CMD ${XBPS_BUILD_FORCEMODE:+-f} -a ${paths}
|
||||
|
|
Loading…
Add table
Reference in a new issue