From 7568f82cd76e74b6ed0b1dbc9f56139fa1068500 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 22:35:17 +0100 Subject: changed -d to -o --- xibuild.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xibuild.sh') diff --git a/xibuild.sh b/xibuild.sh index 118841c..abcb855 100644 --- a/xibuild.sh +++ b/xibuild.sh @@ -31,7 +31,7 @@ ${BLUE}Avaiable Options: ${LIGHT_CYAN}specify the chroot to use when building packages${LIGHT_WHITE}[default: /] ${BLUE}-l ${LIGHT_BLUE}[path] ${LIGHT_CYAN}specify the file to use for logs${LIGHT_WHITE}[default: \$output/build.log] - ${BLUE}-d ${LIGHT_BLUE}[path] + ${BLUE}-o ${LIGHT_BLUE}[path] ${LIGHT_CYAN}specify the output directory to put xipkg files ${LIGHT_WHITE}[default: ./] ${BLUE}-C ${LIGHT_BLUE}[path] ${LIGHT_CYAN}specify the directory to find xibuild files${LIGHT_WHITE}[default: ./] @@ -222,11 +222,11 @@ xibuild_clean () { rm $out_dir/build.log } -while getopts ":r:l:C:k:p:b:d:vcinsh" opt; do +while getopts ":r:l:C:k:p:b:o:vcinsh" opt; do case "${opt}" in r) root=$(realpath ${OPTARG});; - d) + o) out_dir=$(realpath ${OPTARG});; l) logfile=$(realpath ${OPTARG});; -- cgit v1.2.1