Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
libressl sync script
#!/bin/sh
#git clone https://bitbucket.org/braindamaged/openbsd-src.git
(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 https://github.com/busterb/${dir}-openbsd.git
#git push -f github master
)
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment