mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 15:39:42 +00:00
Merge branch 'main' of github.com:tw93/Mole
This commit is contained in:
@@ -181,7 +181,7 @@ resolve_source_dir() {
|
||||
if command -v git > /dev/null 2>&1; then
|
||||
local git_args=("--depth=1")
|
||||
if [[ "$branch" != "main" ]]; then
|
||||
git_args+=("--branch" "$branch")
|
||||
git_args+=("--branch" "$branch")
|
||||
fi
|
||||
|
||||
if git clone "${git_args[@]}" https://github.com/tw93/mole.git "$tmp/mole" > /dev/null 2>&1; then
|
||||
|
||||
Reference in New Issue
Block a user