Created
March 10, 2017 22:12
-
-
Save slaykovsky/b0b6c523811cb1c9998251741ee8b7bf to your computer and use it in GitHub Desktop.
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 | |
if [[ ! -d /var/tmp/ccache ]] | |
then | |
mkdir /var/tmp/ccache | |
fi | |
rsync -avhz -x /usr/portage/local/ccache /var/tmp/ > /dev/null 2>/var/log/ccache-restore.log | |
touch /var/tmp/ccache/.restored |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment