From 9e494cbb23b307d1e135fe188a894f0575c97abb Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Mon, 2 Feb 2009 15:51:50 -0500 Subject: Update NEWS and stap-server man page. Don't require client/server platform compatibility for pahes 1-4. --- stap-client | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'stap-client') 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. -- cgit