Rewrite find predicate '-or' to be more portable with '-o'.

Thu, 08 Jan 2009 10:19:54 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 08 Jan 2009 10:19:54 +0100
changeset 35
f9bd3f5f28c7
parent 34
673ed164f8e5
child 36
88242dc55a66

Rewrite find predicate '-or' to be more portable with '-o'.

mesa/mesa.spec file | annotate | diff | comparison | revisions
     1.1 --- a/mesa/mesa.spec	Thu Jan 08 10:18:50 2009 +0100
     1.2 +++ b/mesa/mesa.spec	Thu Jan 08 10:19:54 2009 +0100
     1.3 @@ -32,7 +32,7 @@
     1.4  Group:        XWindow
     1.5  License:      LGPL
     1.6  Version:      7.2
     1.7 -Release:      20081126
     1.8 +Release:      20090106
     1.9  
    1.10  #   package options
    1.11  %option       with_demos  no
    1.12 @@ -107,7 +107,7 @@
    1.13          configs/*
    1.14      %{l_shtool} subst \
    1.15          -e "s;\.\./images/;%{l_prefix}/lib/mesa/images/;" \
    1.16 -        `find . -name '*.c' -or -name '*.cxx'`
    1.17 +        `find . -name '*.c' -o -name '*.cxx'`
    1.18  
    1.19  %build
    1.20      case "%{l_platform -t}" in

mercurial