mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-05-28 04:35:40 -04:00
Fix it for good now
This commit is contained in:
parent
bf3d216085
commit
db305b81c7
1 changed files with 2 additions and 2 deletions
|
|
@ -29,8 +29,8 @@ elif test -d $SRC_ROOT/.svn -o -f $SRC_ROOT/.svn &&
|
|||
*$LF*) (exit 1) ;;
|
||||
Revision:*)
|
||||
VN=`echo $VN | awk '{print $NF}'`
|
||||
SS=`svn status 2>/dev/null | grep '^[AMD]' | wc -l`
|
||||
test "$SS" = 0 || VN="$VN-dirty" ;;
|
||||
test "`svn status 2>/dev/null | grep '^[AMD]' | wc -l | tr -d ' '`" = 0 ||
|
||||
VN="$VN-dirty" ;;
|
||||
esac
|
||||
then
|
||||
VN=`echo "trunk.$VN" | sed -e 's/-/./g'`;
|
||||
|
|
|
|||
Loading…
Reference in a new issue