From 87d6435ff953b84cbf91ee6f5d001924ec1dbcd4 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 16 Aug 2022 22:14:20 +0100 Subject: allowing git scheme for git url --- xibuild.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xibuild.sh') diff --git a/xibuild.sh b/xibuild.sh index 7c30292..5060b1f 100644 --- a/xibuild.sh +++ b/xibuild.sh @@ -45,7 +45,7 @@ ${BLUE}Avaiable Options: ${BLUE}-k ${LIGHT_BLUE}[file] ${LIGHT_CYAN}specify an openssl private key to sign packages with${LIGHT_WHITE} ${BLUE}-u ${LIGHT_BLUE}[subpackage] - ${LIGHT_CYAN}specify which subpackage should be built ${LIGHT_WHITE }[default: all] + ${LIGHT_CYAN}specify which subpackage should be built ${LIGHT_WHITE}[default: all] ${BLUE}-v ${LIGHT_CYAN}verbose: print logs to stdout @@ -98,7 +98,7 @@ xibuild_prepare () { # fetch_source () { case "$1" in - *".git") + *".git"|"git://"*) git clone $1 . git checkout $2 ;; @@ -253,7 +253,7 @@ xibuild_clean () { rm $out_dir/build.log } -while getopts ":r:l:C:k:p:b:o:vcinsh" opt; do +while getopts ":r:l:C:k:p:b:o:u:vcinsh" opt; do case "${opt}" in r) root=$(realpath ${OPTARG});; -- cgit v1.2.1