Created
July 14, 2014 15:08
-
-
Save drybjed/25eea760f34f58261d5f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
prefix="ginas." | |
cd playbooks/roles/ | |
for dir in *; do | |
role=$(echo $dir | cut -d. -s -f2) | |
if [[ "$role" != "" ]]; then | |
echo "cd $dir ; git remote add origin [email protected]:drybjed/$role" | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment