Created
August 9, 2016 07:36
-
-
Save yousry/313db7f4bcc853e560ced8ae9b0de3d5 to your computer and use it in GitHub Desktop.
Update Clang sources with all Subprojects
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
#!/usr/bin/bash | |
d=`find . -name ".svn"` | |
IFS=$'\n' read -rd '' -a dlines <<<"$d" | |
for dline in "${dlines[@]}" | |
do | |
pushd . | |
p=`dirname $dline` | |
echo "Entering $p" | |
cd $p | |
svn up | |
popd | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment