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_normal_user
assert_system_mode assert_system_mode
assert_credentials assert_credentials
target="$PWD"/ name=$(echo "$GIT_URL" | cut -d/ -f2)
target+=$(echo "$GIT_URL" | cut -d/ -f5) name="${name%.git}"
target="$PWD/$name"
source "$MIAOU_BASH_DIR"/lib/functions.bash source "$MIAOU_BASH_DIR"/lib/functions.bash
_confirm_destructive "target directory will be: ${target}" _confirm_destructive "target directory will be: ${target}"
assert_reachable_target assert_reachable_target