[Oracleasm-commits] jlbec commits r321 - trunk
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Mon Nov 21 19:54:03 CST 2005
Author: jlbec
Date: 2005-11-21 19:54:03 -0600 (Mon, 21 Nov 2005)
New Revision: 321
Modified:
trunk/svnrev.guess
Log:
o If Subversion isn't installed, make the rev 0.local
Modified: trunk/svnrev.guess
===================================================================
--- trunk/svnrev.guess 2005-11-22 01:44:10 UTC (rev 320)
+++ trunk/svnrev.guess 2005-11-22 01:54:03 UTC (rev 321)
@@ -126,12 +126,17 @@
}'
}
-BRANCH=$(guessbranch)
-case "$BRANCH" in
-tags/${PACKAGE}*)
- releaserev "$BRANCH"
- ;;
-*)
- workingrev
- ;;
-esac
+if ! which svn 1>/dev/null 2>&1
+then
+ echo "0.local"
+else
+ BRANCH=$(guessbranch)
+ case "$BRANCH" in
+ tags/${PACKAGE}*)
+ releaserev "$BRANCH"
+ ;;
+ *)
+ workingrev
+ ;;
+ esac
+fi
More information about the Oracleasm-commits
mailing list