summaryrefslogtreecommitdiffstats
path: root/NP-VERSION-GEN
diff options
context:
space:
mode:
Diffstat (limited to 'NP-VERSION-GEN')
-rwxr-xr-xNP-VERSION-GEN4
1 files changed, 2 insertions, 2 deletions
diff --git a/NP-VERSION-GEN b/NP-VERSION-GEN
index 10428b3..657ef3c 100755
--- a/NP-VERSION-GEN
+++ b/NP-VERSION-GEN
@@ -29,8 +29,8 @@ elif test -d $SRC_ROOT/.svn -o -f $SRC_ROOT/.svn &&
29 *$LF*) (exit 1) ;; 29 *$LF*) (exit 1) ;;
30 Revision:*) 30 Revision:*)
31 VN=`echo $VN | awk '{print $NF}'` 31 VN=`echo $VN | awk '{print $NF}'`
32 SS=`svn status 2>/dev/null | grep '^[AMD]' | wc -l` 32 test "`svn status 2>/dev/null | grep '^[AMD]' | wc -l | tr -d ' '`" = 0 ||
33 test "$SS" = 0 || VN="$VN-dirty" ;; 33 VN="$VN-dirty" ;;
34 esac 34 esac
35then 35then
36 VN=`echo "trunk.$VN" | sed -e 's/-/./g'`; 36 VN=`echo "trunk.$VN" | sed -e 's/-/./g'`;