devmode
This commit is contained in:
+3
-2
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user