File: test.sh

package info (click to toggle)
urdfdom 0.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 672 kB
  • ctags: 289
  • sloc: cpp: 1,991; python: 938; sh: 35; makefile: 9
file content (12 lines) | stat: -rwxr-xr-x 228 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

dir=$(dirname $BASH_SOURCE)
scripts="$dir/../../scripts"

name=calvin
orig="$dir/$name.urdf"
gen="/tmp/$name.urdf"
patch="/tmp/$name.patch"

$scripts/display_urdf "$orig" -o "$gen"
diff -u "$orig" "$gen" > "$patch"