diff options
author | 2012-03-01 22:43:46 +0100 | |
---|---|---|
committer | 2012-03-02 09:09:15 +0530 | |
commit | f554c21b09df53d680727a98b1638aba69684d1a (patch) | |
tree | 146772bc78bfae19af655d711451603af5b068b6 | |
parent | replaced mktemp with a perl equivalent to make the setup usable on machines w... (diff) | |
download | gitolite-gentoo-f554c21b09df53d680727a98b1638aba69684d1a.tar.gz gitolite-gentoo-f554c21b09df53d680727a98b1638aba69684d1a.tar.bz2 gitolite-gentoo-f554c21b09df53d680727a98b1638aba69684d1a.zip |
replaced comm with grep for devices without comm
-rwxr-xr-x | src/gl-setup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gl-setup b/src/gl-setup index 2299f2a..1970d93 100755 --- a/src/gl-setup +++ b/src/gl-setup @@ -103,7 +103,7 @@ then } print_rc_vars $GL_PACKAGE_CONF/example.gitolite.rc > $TEMPDIR/.newvars print_rc_vars $GL_RC > $TEMPDIR/.oldvars - comm -23 $TEMPDIR/.newvars $TEMPDIR/.oldvars > $TEMPDIR/.diffvars + grep -f $TEMPDIR/.oldvars -v $TEMPDIR/.newvars > $TEMPDIR/.diffvars if [ -s $TEMPDIR/.diffvars ] then cp $GL_PACKAGE_CONF/example.gitolite.rc $HOME/.gitolite.rc.new |