Skip to content

Instantly share code, notes, and snippets.

@yousry
Created August 9, 2016 07:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yousry/313db7f4bcc853e560ced8ae9b0de3d5 to your computer and use it in GitHub Desktop.
Save yousry/313db7f4bcc853e560ced8ae9b0de3d5 to your computer and use it in GitHub Desktop.
Update Clang sources with all Subprojects
#!/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