diff options
author | Josselin Mouette <joss@debian.org> | 2011-05-18 20:43:56 +0200 |
---|---|---|
committer | Josselin Mouette <joss@debian.org> | 2011-05-18 20:43:56 +0200 |
commit | e05c2e3b921c120f4c67d3bda228af43884a5bf1 (patch) | |
tree | 2ef780c8af2513ef116b56ec53b47c61ec82c9fc | |
parent | 4bcc421e71a3a86e7688f8304b6830dd7700f292 (diff) | |
download | gdm-e05c2e3b921c120f4c67d3bda228af43884a5bf1.tar.gz |
Stop hardcoding path to grep
/usr/bin/grep is correct on Solaris but not on Linux/sparc
https://bugzilla.gnome.org/show_bug.cgi?id=649415
-rw-r--r-- | data/Init.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/Init.in b/data/Init.in index dca63a2a..ec6fd395 100644 --- a/data/Init.in +++ b/data/Init.in @@ -48,7 +48,7 @@ if [ "x$XMODMAP" != "x" ] ; then UNAME=`gdmwhich uname` PROCESSOR=`$UNAME -p` if [ "x$PROCESSOR" = "xsparc" ]; then - if $XMODMAP | /usr/bin/grep mod4 | /usr/bin/grep Alt > /dev/null 2>/dev/null + if $XMODMAP | grep mod4 | grep Alt > /dev/null 2>/dev/null then $XMODMAP -e "clear Mod1" \ -e "clear Mod4" \ |