This file contains 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
echo "****************************************************" | |
echo "* *" | |
echo "* CONVERT BARE REPO TO NORMAL REPO *" | |
echo "* *" | |
echo "****************************************************" | |
echo " -> untar repo.tar.gz" | |
tar -zxf repo.tar.gz | |
for user in $(ls repositories/); do | |
for repo in $(ls repositories/$user/); do | |
pathRepo="repositories/$user/$repo/"; |