Prefer repositories from '-r' in mkplatformfs

This allows replacing existing packages with custom built ones and
makes mkplatformfs behavior consistent with mkrootfs.
This commit is contained in:
Renato Aguiar 2020-02-19 19:04:16 -08:00 committed by Juan RP
parent 2b1aa4f45d
commit cc93f013b0
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ while getopts "b:p:k:c:C:r:x:o:nhV" opt; do
k) POST_CMD="$OPTARG" ;;
c) XBPS_CACHEDIR="--cachedir=$OPTARG" ;;
C) XBPS_CONFFILE="-C $OPTARG" ;;
r) XBPS_REPOSITORY="$XBPS_REPOSITORY --repository=$OPTARG" ;;
r) XBPS_REPOSITORY="--repository=$OPTARG $XBPS_REPOSITORY" ;;
x) COMPRESSOR_THREADS="$OPTARG" ;;
o) FILENAME="$OPTARG" ;;
n) COMPRESSION="n" ;;