make -h option work for mkrootfs and mkplatformfs
Closes: #133 [via git-merge-pr]
This commit is contained in:
parent
721605d517
commit
b4218de9b2
|
@ -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" ;;
|
||||||
|
|
|
@ -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";;
|
||||||
|
|
Loading…
Reference in New Issue