diff options
author | Felix Richter <Felix.Richter@syntax-fehler.de> | 2011-06-02 22:56:24 +0200 |
---|---|---|
committer | Felix Richter <Felix.Richter@syntax-fehler.de> | 2011-06-02 22:56:24 +0200 |
commit | df46dc81676c33f0998ab9e1544c27a5e5e0588b (patch) | |
tree | 0ad29aed31397e28097aced4274b21bfa50bcf91 /infest | |
parent | 5ff862e21c0c9930bd6078a5514e504277cc9a94 (diff) | |
parent | 17b5e792b9968eeb100c00996c891c38c0f5d16d (diff) |
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'infest')
-rwxr-xr-x | infest/bin/make-patch | 14 | ||||
-rw-r--r-- | infest/skel/home/.ssh/authorized_keys | 1 |
2 files changed, 9 insertions, 6 deletions
diff --git a/infest/bin/make-patch b/infest/bin/make-patch index 6f26e745..e2ef0ca0 100755 --- a/infest/bin/make-patch +++ b/infest/bin/make-patch @@ -36,22 +36,24 @@ diff -Naur $f $t >>$p readlink=`readlink -f $0` dirname=`dirname $readlink` -if pushd $dirname/../skel >/dev/null; then - if pushd etc >/dev/null; then +echo [32m$dirname/../skel[m >&2 +ls -l $dirname/../skel +if cd $dirname/../skel; then + if cd etc; then find . -mindepth 1 -maxdepth 1 -exec diff -Naur /etc/\{\} \{\} \; >>$p - popd >/dev/null + cd .. sed -i ' s:^+++ \./:+++ /etc/: ' $p fi - if pushd home >/dev/null; then + if cd home; then find . -type f -exec diff -Naur $HOME/\{\} \{\} \; >>$p - popd >/dev/null + cd .. sed -i ' s:^+++ \./:+++ '$HOME'/: ' $p fi - popd >/dev/null + cd .. fi cat $p diff --git a/infest/skel/home/.ssh/authorized_keys b/infest/skel/home/.ssh/authorized_keys index ab09bfe5..8bd54293 100644 --- a/infest/skel/home/.ssh/authorized_keys +++ b/infest/skel/home/.ssh/authorized_keys @@ -4,3 +4,4 @@ ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAtDhAxjiCH0SmTGNDqmlKPug9qTf+IFOVjdXfk01lAV2K ssh-rsa AAAA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