[dahdi-commits] fjoe: freebsd/trunk r7428 - /freebsd/trunk/build_tools/make_version

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Wed Oct 28 15:12:20 CDT 2009


Author: fjoe
Date: Wed Oct 28 15:12:16 2009
New Revision: 7428

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=7428
Log:
Check .svn subdir existence in the correct directory.

Modified:
    freebsd/trunk/build_tools/make_version

Modified: freebsd/trunk/build_tools/make_version
URL: http://svnview.digium.com/svn/dahdi/freebsd/trunk/build_tools/make_version?view=diff&rev=7428&r1=7427&r2=7428
==============================================================================
--- freebsd/trunk/build_tools/make_version (original)
+++ freebsd/trunk/build_tools/make_version Wed Oct 28 15:12:16 2009
@@ -4,7 +4,7 @@
 	cat ${1}.version
 elif [ -f ${1}/.svnrevision ]; then
 	echo SVN-`cat ${1}/.svnbranch`-r`cat ${1}/.svnrevision`
-elif [ -d .svn ]; then
+elif [ -d ${1}/.svn ]; then
     PARTS=`LANG=C svn info ${1} | grep URL | awk '{print $2;}' | sed -e s:^.*/svn/${2}/:: | sed -e 's:/: :g'`
     BRANCH=0
     TEAM=0




More information about the dahdi-commits mailing list