]> sourceware.org Git - systemtap.git/commitdiff
stap-report: set $PATH, tolerate failures better
authorFrank Ch. Eigler <fche@redhat.com>
Mon, 30 Jul 2012 14:01:45 +0000 (10:01 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Mon, 30 Jul 2012 14:01:45 +0000 (10:01 -0400)
stap-report

index 420b58f130984f0181b96619010a4f8c74c3292d..5ab958a36db09dc31a58681d65fd4a8494b1cf5f 100755 (executable)
@@ -2,9 +2,12 @@
 
 run(){
   echo "== $1 =="
-  sh -c "$@"
+  sh -c "$@" || true
 }
 
+PATH=/bin:/sbin:/usr/bin:/usr/sbin:$PATH
+export PATH
+
 run "stap -V"
 run "which stap"
 run "locate --regex '/stap(run)?$' | xargs ls -ald"
This page took 0.026341 seconds and 5 git commands to generate.