diff options
author | Dave Brolley <brolley@redhat.com> | 2009-02-02 15:51:50 -0500 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-02-02 15:51:50 -0500 |
commit | 9e494cbb23b307d1e135fe188a894f0575c97abb (patch) | |
tree | d5ce3bf2a0c379cfc6924e90d4496f2b921a608a /stap-client | |
parent | 552276c8666dec5373d8312bc3498b1887ddb0a8 (diff) | |
download | systemtap-steved-9e494cbb23b307d1e135fe188a894f0575c97abb.tar.gz systemtap-steved-9e494cbb23b307d1e135fe188a894f0575c97abb.tar.xz systemtap-steved-9e494cbb23b307d1e135fe188a894f0575c97abb.zip |
Update NEWS and stap-server man page. Don't require client/server
platform compatibility for pahes 1-4.
Diffstat (limited to 'stap-client')
-rwxr-xr-x | stap-client | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/stap-client b/stap-client index 98fd47d0..ca97375a 100755 --- a/stap-client +++ b/stap-client @@ -502,11 +502,10 @@ function unpack_response { fatal "`pwd`/$tmpdir_server/META-INF does not exist or is not a directory" # See if there is a systemtap temp directory - tmpdir_stap=`ls $tmpdir_server | grep stap` - tmpdir_stap=`expr "$tmpdir_stap" : "\\\(stap......\\\)"` + tmpdir_stap=`cd $tmpdir_server && ls | grep stap......\$ 2>/dev/null` if test "X$tmpdir_stap" != "X"; then test -d $tmpdir_server/$tmpdir_stap || \ - fatal "`pwd`/$tmpdir_server/$tmpdir_stap is not a directory" + fatal "$tmpdir_server/$tmpdir_stap is not a directory" # Move the systemtap temp directory to a local temp location, if -k # was specified. |