clone-all/src/5-main.sh

11 lines
232 B
Bash

#!/bin/bash
_pwd="$(pwd)"
if ! setup "$@"; then
fatal "Failed to setup directory structure!"
fi
logln "Cloning all repos owned by $_USERNAME into ${_DESTINATION}/${_USERNAME}/"
get
echo -e "\e[1;32mfin.\e[0m"
cd "$_pwd" || exit 1