Created
April 24, 2014 19:47
-
-
Save busterb/11267168 to your computer and use it in GitHub Desktop.
libressl sync script
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
#!/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