Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
libressl sync script
#git clone
(cd openbsd-src;
git pull)
for dir in libssl libcrypto; do
echo $dir
rm -fr $dir-openbsd
cp -ax openbsd-src ${dir}-openbsd
(cd ${dir}-openbsd;
git filter-branch --prune-empty --subdirectory-filter lib/${dir} HEAD
git remote add github${dir}-openbsd.git
#git push -f github master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment