[openrtm-commit:00948] r389 - trunk/rtmtools
openrtm @ openrtm.org
openrtm @ openrtm.org
2013年 1月 25日 (金) 16:02:25 JST
Author: n-ando
Date: 2013-01-25 16:02:25 +0900 (Fri, 25 Jan 2013)
New Revision: 389
Modified:
trunk/rtmtools/buildall.sh
Log:
Now revert option for reverting MANIFEST.MF is available
Modified: trunk/rtmtools/buildall.sh
===================================================================
--- trunk/rtmtools/buildall.sh 2013-01-25 07:01:42 UTC (rev 388)
+++ trunk/rtmtools/buildall.sh 2013-01-25 07:02:25 UTC (rev 389)
@@ -195,7 +195,20 @@
getopt()
{
if test $# = 1 ; then
- TARGET=$1
+ arg=$1
+ if test "x$arg" = "xclean" ; then
+ TARGET=$1
+ return 0
+ fi
+ if test "x$arg" = "xrevert" ; then
+ echo "Reverting updated MANIFEST.MF..."
+ mf=`svn status | grep '^M' | grep MANIFEST.MF | awk '{print $2;}'`
+ for m in $mf; do
+ rm $m
+ svn update $m
+ done
+ exit 0
+ fi
fi
}
@@ -225,4 +238,4 @@
exit 0
-# end of script
\ No newline at end of file
+# end of script
More information about the openrtm-commit
mailing list