We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2816f5b commit 737bef8Copy full SHA for 737bef8
package.xml
@@ -15,6 +15,7 @@
15
<buildtool_depend>catkin</buildtool_depend>
16
17
<exec_depend>daemontools</exec_depend>
18
+ <exec_depend>net-tools</exec_depend>
19
<exec_depend>roslaunch</exec_depend>
20
<exec_depend>xacro</exec_depend>
21
scripts/getifip
@@ -27,4 +27,4 @@
27
#
28
# Please send comments, questions, or patches to code@clearpathrobotics.com
29
30
-echo `LANG=C ifconfig $1 | grep -o 'inet addr:[^ ]*' | cut -d: -f2`
+echo `LANG=C ifconfig $1 | perl -lne '/inet (addr:)?(.[^ ]+)/ && print $2'`
0 commit comments