Skip to content

Instantly share code, notes, and snippets.

@d235j
Created June 2, 2020 19:15
Show Gist options
  • Save d235j/b428f97c7cec4cdf9fae98862ab3efce to your computer and use it in GitHub Desktop.
Save d235j/b428f97c7cec4cdf9fae98862ab3efce to your computer and use it in GitHub Desktop.
#!/bin/sh
ROOT="http://svn.code.sf.net/p/hxcfloppyemu/code/HxCFloppyEmulator/"
REPOS_TRUNK="HxCFloppyEmulator_software HxCFloppyEmulator_cmdline libhxcadaptor libhxcfe libusbhxcfe"
REPOS="build"
for i in $REPOS_TRUNK; do
echo "--- $i ---"
if [ -d "$ROOT/$i/trunk" ]; then
svn up "$i/trunk"
else
svn checkout "$ROOT/$i/trunk" "$i/trunk"
fi
done
for i in $REPOS; do
echo "--- $i ---"
if [ -d "$ROOT/$i" ]; then
svn up "$i"
else
svn checkout "$ROOT/$i" "$i"
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment