summaryrefslogtreecommitdiff
path: root/xibuild.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-08-16 22:14:20 +0100
committerdavidovski <david@davidovski.xyz>2022-08-16 22:14:20 +0100
commit87d6435ff953b84cbf91ee6f5d001924ec1dbcd4 (patch)
tree5587178139949679159be30425a5c204d37f72f1 /xibuild.sh
parent4487c34c52b0ba66121468c64a80a5d77afc8e1f (diff)
allowing git scheme for git url
Diffstat (limited to 'xibuild.sh')
-rw-r--r--xibuild.sh6
1 files changed, 3 insertions, 3 deletions
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});;