devmode
This commit is contained in:
+2
-2
@@ -28,11 +28,11 @@ function dev_mode {
|
|||||||
git clone "$GIT_URL"
|
git clone "$GIT_URL"
|
||||||
sudo rm "$MIAOU_BASH_DIR" -rf
|
sudo rm "$MIAOU_BASH_DIR" -rf
|
||||||
sudo ln -s "$target" "$MIAOU_BASH_DIR"
|
sudo ln -s "$target" "$MIAOU_BASH_DIR"
|
||||||
sudo "$MIAOU_BASH_DIR"/lib/init.sh
|
sudo "$MIAOU_BASH_DIR"/lib/init.bash
|
||||||
}
|
}
|
||||||
|
|
||||||
function assert_reachable_target {
|
function assert_reachable_target {
|
||||||
sudo -u nobody test -x "$target"
|
sudo -u nobody -g sudo test -x "$(dirname "$target")"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Main
|
# Main
|
||||||
|
|||||||
Reference in New Issue
Block a user