File tree 1 file changed +3
-7
lines changed
1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -2060,17 +2060,13 @@ process_external() {
2060
2060
fi
2061
2061
2062
2062
if [[ $external_type == " git" ]]; then
2063
- # check for subpath in short form
2063
+ # check for subpath in urls we know the structure of
2064
2064
if [[ -n $external_slug && $external_uri == * " $external_slug /" * ]]; then
2065
- # CF: `Libs/LibDoThings-1.0: https://repos.curseforge.com/wow/libdothings-1-0/LibDoThings-1.0`
2065
+ # CF: https://repos.curseforge.com/wow/libdothings-1-0/LibDoThings-1.0
2066
2066
external_path=${external_uri#*/ wow/ $external_slug / }
2067
2067
external_uri=${external_uri%/ $external_path * }
2068
- elif [[ $external_uri == * " .git/" * ]]; then
2069
- # Anything using .git: `Libs/LibDoThings-1.0: https://github.com/nebularg/LibDoThings-1.0.git/LibDoThings-1.0`
2070
- external_path=${external_uri#* .git/ }
2071
- external_uri=${external_uri%/ $external_path * }
2072
2068
elif [[ $external_uri == " https://github.com/" * /* /* ]]; then
2073
- # Github without .git: `Libs/LibDoThings-1.0: https://github.com/nebularg/LibDoThings-1.0/LibDoThings-1.0`
2069
+ # GitHub: https://github.com/nebularg/LibDoThings-1.0.git /LibDoThings-1.0
2074
2070
external_path=${external_uri#* .com/*/*/ }
2075
2071
external_uri=${external_uri%/ $external_path * }
2076
2072
fi
You can’t perform that action at this time.
0 commit comments