Created
July 21, 2015 22:02
-
-
Save shwang/60a2b6bfe6e00b42bd5f 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 | |
for file in *.yml; do | |
target='/usr/local/etc/rssp/django' | |
command="sudo diff /home/shwang/eponym/${file} ${target}/${file}" | |
if `eval "${command} > /dev/null"`; then | |
echo "${file} is unchanged." | |
else | |
echo "${file} has been changed. Here are some raisins:" | |
eval ${command} | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment