make -h option work for mkrootfs and mkplatformfs

Closes: #133 [via git-merge-pr]
This commit is contained in:
Piraty 2017-09-24 23:23:03 +02:00 committed by Michael Aldridge
parent 721605d517
commit b4218de9b2
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ _EOF
BASEPKG=base-system BASEPKG=base-system
while getopts "b:p:k:c:C:r:x:h:V" opt; do while getopts "b:p:k:c:C:r:x:hV" opt; do
case $opt in case $opt in
b) BASEPKG="$OPTARG" ;; b) BASEPKG="$OPTARG" ;;
p) EXTRA_PKGS="$OPTARG" ;; p) EXTRA_PKGS="$OPTARG" ;;

View File

@ -73,7 +73,7 @@ _EOF
# Boilerplate option parsing. This script supports the bare minimum # Boilerplate option parsing. This script supports the bare minimum
# needed to build an image. # needed to build an image.
while getopts "C:c:h:r:x:o:V" opt; do while getopts "C:c:hr:x:o:V" opt; do
case $opt in case $opt in
C) XBPS_CONFFILE="-C $OPTARG";; C) XBPS_CONFFILE="-C $OPTARG";;
c) XBPS_CACHEDIR="--cachedir=$OPTARG";; c) XBPS_CACHEDIR="--cachedir=$OPTARG";;