summaryrefslogtreecommitdiffstats
path: root/stap-client
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-02-02 15:51:50 -0500
committerDave Brolley <brolley@redhat.com>2009-02-02 15:51:50 -0500
commit9e494cbb23b307d1e135fe188a894f0575c97abb (patch)
treed5ce3bf2a0c379cfc6924e90d4496f2b921a608a /stap-client
parent552276c8666dec5373d8312bc3498b1887ddb0a8 (diff)
downloadsystemtap-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-xstap-client5
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.