xbps-src: repair 'update-bulk' target (close #1121).
This commit is contained in:
parent
a8962ace18
commit
d8f69bde78
2 changed files with 7 additions and 2 deletions
4
xbps-src
4
xbps-src
|
@ -467,7 +467,9 @@ readonly XBPS_DIGEST_CMD="xbps-uhelper digest"
|
|||
readonly XBPS_CMPVER_CMD="xbps-uhelper cmpver"
|
||||
|
||||
readonly XBPS_TARGET="$1"
|
||||
readonly XBPS_TARGET_PKG="${2##*/}"
|
||||
if [ -n "$2" ]; then
|
||||
readonly XBPS_TARGET_PKG="${2##*/}"
|
||||
fi
|
||||
|
||||
# Check if stdout is a tty; if false disable colors.
|
||||
test -t 1 || export NOCOLORS=1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue