From: <dg...@su...> - 2009-01-31 22:34:31
|
Author: henrik Date: Sat Jan 31 22:37:12 2009 New Revision: 5246 URL: http://www.opensync.org/changeset/5246 Log: Use 'which' instead of 'whereis' to find the Thunderbird executable Modified: plugins/mozilla-sync/trunk/tests/blackbox_test_common.shinc.in Modified: plugins/mozilla-sync/trunk/tests/blackbox_test_common.shinc.in ============================================================================== --- plugins/mozilla-sync/trunk/tests/blackbox_test_common.shinc.in Sat Jan 31 18:16:47 2009 (r5245) +++ plugins/mozilla-sync/trunk/tests/blackbox_test_common.shinc.in Sat Jan 31 22:37:12 2009 (r5246) @@ -166,8 +166,8 @@ # Try to find the GRE directory # This is an ugly hack, but what else can we do? - TB_EXE=`whereis -b thunderbird | cut -s -d " " -f 2 -` - test -n "${TB_EXE}" || TB_EXE=`whereis -b icedove | cut -s -d " " -f 2 -` + TB_EXE=`which thunderbird` + test -n "${TB_EXE}" || TB_EXE=`which icedove` myecho "TB_EXE [${TB_EXE}]" test -n "${TB_EXE}" || error_exit "Could not find Thunderbird" 1 |