summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9bcfa9c)
raw | patch | inline | side by side (parent: 9bcfa9c)
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | |
Wed, 26 Nov 2008 10:55:57 +0000 (05:55 -0500) | ||
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | |
Wed, 26 Nov 2008 10:55:57 +0000 (05:55 -0500) |
NP-VERSION-GEN | patch | blob | history |
diff --git a/NP-VERSION-GEN b/NP-VERSION-GEN
index f963e6373d0a4141f0ddd060d35cf92c7a40ddf9..10428b3e545ed212b1415c1f5aa8eca668c9289a 100755 (executable)
--- a/NP-VERSION-GEN
+++ b/NP-VERSION-GEN
*$LF*) (exit 1) ;;
Revision:*)
VN=`echo $VN | awk '{print $NF}'`
- test "`svn status 2>/dev/null | grep '^[AMD]' | wc -l`" = 0 ||
- VN="$VN-dirty" ;;
+ SS=`svn status 2>/dev/null | grep '^[AMD]' | wc -l`
+ test "$SS" = 0 || VN="$VN-dirty" ;;
esac
then
VN=`echo "trunk.$VN" | sed -e 's/-/./g'`;