Переглянути джерело

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