FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit d54a39fc authored by Silas S. Brown's avatar Silas S. Brown
Browse files

Remove git-sync.sh (updates now done by homepage/Makefile itself)

parent c874a7a9
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
# Sync gradint build environment to Git
git pull --no-edit
wget -N http://ssb22.user.srcf.net/gradint/gradint-build.7z || exit 1
rm -rf gradint # (any leftover ../gradint/gradint directory)
7z x gradint-build.7z || exit 1
diff -r gradint-build gradint|grep "^Only in gradint-build"|grep -v \\.git|sed -e 's,Only in ,git rm ",' -e 's,: ,/,' -e 's/$/"/'|bash
cp -pur gradint/* gradint-build/
find gradint|grep -v \\.git|sed -e 's/gradint/gradint-build/' -e 's/^/git add "/' -e 's/$/"/'|bash
rm -rf gradint gradint-build.7z # if need to save space
if test "a$Msg" == a; then export Msg="Gradint update"; fi
git commit -am "$Msg" && git push
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment