Explode if can't clone the app
This commit is contained in:
parent
c1d12eacc5
commit
841e4fc61a
5
abra
5
abra
@ -435,7 +435,10 @@ sub_app_new (){
|
|||||||
# FIXME 3wc: move to require_app_clone or something
|
# FIXME 3wc: move to require_app_clone or something
|
||||||
warning "'$APP' not found, fetching via git.."
|
warning "'$APP' not found, fetching via git.."
|
||||||
|
|
||||||
git clone "$GIT_URL/$APP.git" "$ABRA_DIR/apps/$APP"
|
if ! git clone "$GIT_URL/$APP.git" "$ABRA_DIR/apps/$APP"; then
|
||||||
|
error "Could not retrieve '$APP', this app doesn't exist?"
|
||||||
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$DOMAIN" ]; then
|
if [ -z "$DOMAIN" ]; then
|
||||||
|
Reference in New Issue
Block a user