[openrtm-commit:00873] r2380 - trunk/OpenRTM-aist/build

openrtm @ openrtm.org openrtm @ openrtm.org
2012年 8月 1日 (水) 12:24:27 JST


Author: 
Date: 2012-08-01 12:24:27 +0900 (Wed, 01 Aug 2012)
New Revision: 2380

Modified:
   trunk/OpenRTM-aist/build/pkg_install100_ubuntu.sh
   trunk/OpenRTM-aist/build/pkg_install_ubuntu.sh
Log:
Checking sources.list logic has been changed to avoid detecting
comment OpenRTM repository.


Modified: trunk/OpenRTM-aist/build/pkg_install100_ubuntu.sh
===================================================================
--- trunk/OpenRTM-aist/build/pkg_install100_ubuntu.sh	2012-07-06 17:17:21 UTC (rev 2379)
+++ trunk/OpenRTM-aist/build/pkg_install100_ubuntu.sh	2012-08-01 03:24:27 UTC (rev 2380)
@@ -115,7 +115,7 @@
 # ソースリスト更新関数の定義
 #---------------------------------------
 update_source_list () {
-    rtmsite=`grep $reposerver /etc/apt/sources.list`
+    rtmsite=`grep '^$openrtm_repo' /etc/apt/sources.list`
     if test "x$rtmsite" = "x" ; then
 	echo $msg4
 	echo $msg5

Modified: trunk/OpenRTM-aist/build/pkg_install_ubuntu.sh
===================================================================
--- trunk/OpenRTM-aist/build/pkg_install_ubuntu.sh	2012-07-06 17:17:21 UTC (rev 2379)
+++ trunk/OpenRTM-aist/build/pkg_install_ubuntu.sh	2012-08-01 03:24:27 UTC (rev 2380)
@@ -86,7 +86,7 @@
 # ソースリスト更新関数の定義
 #---------------------------------------
 update_source_list () {
-    rtmsite=`grep openrtm /etc/apt/sources.list`
+    rtmsite=`grep '^$openrtm_repo' /etc/apt/sources.list`
     if test "x$rtmsite" = "x" ; then
 	echo $msg4
 	echo $msg5



More information about the openrtm-commit mailing list