소스 검색

Prefer repositories from '-r' in mkplatformfs

This allows replacing existing packages with custom built ones and
makes mkplatformfs behavior consistent with mkrootfs.
Renato Aguiar 5 년 전
부모
커밋
cc93f013b0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      mkplatformfs.sh.in

+ 1 - 1
mkplatformfs.sh.in

@@ -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" ;;