This commit is contained in:
pvincent
2026-08-10 18:42:46 +04:00
parent e04e0a05a2
commit 7c4c843dfa
+3 -2
View File
@@ -40,8 +40,9 @@ function assert_reachable_target {
assert_normal_user
assert_system_mode
assert_credentials
target="$PWD"/
target+=$(echo "$GIT_URL" | cut -d/ -f5)
name=$(echo "$GIT_URL" | cut -d/ -f2)
name="${name%.git}"
target="$PWD/$name"
source "$MIAOU_BASH_DIR"/lib/functions.bash
_confirm_destructive "target directory will be: ${target}"
assert_reachable_target