Changeset 2727

Show
Ignore:
Timestamp:
07/08/08 16:07:42 (5 months ago)
Author:
dhozac
Message:

Don't fail.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/util-vserver.spec.in

    r2721 r2727  
    1414%global _localstatedir  %_var 
    1515 
    16 %global ver             %( echo @VERSION@ | sed 's/-.*//' ) 
    17 %global subver          %( s=`echo @VERSION@ | grep -- - | sed 's/.*-/./'`; echo ${s:-.1} ) 
    1816%global fullver         @VERSION@ 
     17%global ver             %( echo %fullver | sed 's/-.*//' ) 
     18%global subver          %( s=`echo %fullver | grep -- - | sed 's/.*-/./'`; echo ${s:-.1} ) 
    1919 
    2020 
     
    271271%pre build 
    272272x="%_libdir/util-vserver/distributions/etch" 
    273 test -d "$x" && mv "$x" "$x.rpmsave" 
     273test -d "$x" && mv "$x" "$x.rpmsave" || : 
    274274 
    275275