From f554c21b09df53d680727a98b1638aba69684d1a Mon Sep 17 00:00:00 2001 From: Arno Gramatke Date: Thu, 1 Mar 2012 22:43:46 +0100 Subject: [PATCH] replaced comm with grep for devices without comm --- src/gl-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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