]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
sync.sh: Be more compatible.
authorSimon Ruderich <simon@ruderich.org>
Tue, 31 Mar 2009 15:18:36 +0000 (17:18 +0200)
committerSimon Ruderich <simon@ruderich.org>
Tue, 31 Mar 2009 15:19:28 +0000 (17:19 +0200)
sync.sh

diff --git a/sync.sh b/sync.sh
index 95b3c4a925b0a2b4ac6bcede643c9be0f2a5bfc9..6600c889344ea4e21bdcaf554eb373d701bbd95f 100755 (executable)
--- a/sync.sh
+++ b/sync.sh
@@ -34,7 +34,7 @@ for project in `find . -name .git -type d`; do
     # be pushed to the remote hosts).
     if [ $method = status ]; then
         # Display a log similar to gitk but for the console.
-        function git_log() {
+        git_log() {
             output=`git log --graph --all --pretty=oneline --color $1`
             if [ "x$output" != x ]; then
                 echo $2