From 433272896fc25b1746760536d21baee4c60890b3 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Tue, 10 Sep 2019 09:10:56 -0400 Subject: [PATCH] BuildSourceImage: switch to -s for SRPMs Signed-off-by: Vincent Batts --- BuildSourceImage.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BuildSourceImage.sh b/BuildSourceImage.sh index 291ac51..1f58520 100755 --- a/BuildSourceImage.sh +++ b/BuildSourceImage.sh @@ -13,7 +13,7 @@ _usage() { echo -e " -b \tbase path for source image builds" echo -e " -c \tbuild context for the container image. Can be provided via CONTEXT_DIR env variable" echo -e " -e \textra src for the container image. Can be provided via EXTRA_SRC_DIR env variable" - echo -e " -r \tdirectory of SRPMS to add. Can be provided via SRPM_DIR env variable" + echo -e " -s \tdirectory of SRPMS to add. Can be provided via SRPM_DIR env variable" echo -e " -o \toutput the OCI image to path. Can be provided via OUTPUT_DIR env variable" echo -e " -d \tenumerate specific source drivers to run" echo -e " -l\t\tlist the source drivers available" @@ -898,7 +898,7 @@ main() { base_dir="$(pwd)/${ABV_NAME}" # using the bash builtin to parse - while getopts ":hlDi:c:r:e:o:b:d:p:" opts; do + while getopts ":hlDi:c:s:e:o:b:d:p:" opts; do case "${opts}" in b) base_dir="${OPTARG}" @@ -927,7 +927,7 @@ main() { p) push_image_ref=${OPTARG} ;; - r) + s) srpm_dir=${OPTARG} ;; D)