projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed usage of BUILD_BEFORE which was erroneoulsy being used instead of FIRST_TARGETS...
[feisty_meow.git]
/
scripts
/
core
/
functions.sh
diff --git
a/scripts/core/functions.sh
b/scripts/core/functions.sh
index 8a2f35865a36c59cad49bda5ef6c63af8c465cf9..3024f8200ece981d94c4eb1fd52eaeab8400d18d 100644
(file)
--- a/
scripts/core/functions.sh
+++ b/
scripts/core/functions.sh
@@
-77,7
+77,6
@@
if [ -z "$skip_all" ]; then
# locates a process given a search pattern to match in the process list.
function psfind() {
local -a patterns=("${@}")
# locates a process given a search pattern to match in the process list.
function psfind() {
local -a patterns=("${@}")
- mkdir $TEST_TEMP/grid_logs &>/dev/null
local PID_DUMP="$(mktemp "$TMP/zz_pidlist.XXXXXX")"
local -a PIDS_SOUGHT
if [ "$OS" == "Windows_NT" ]; then
local PID_DUMP="$(mktemp "$TMP/zz_pidlist.XXXXXX")"
local -a PIDS_SOUGHT
if [ "$OS" == "Windows_NT" ]; then
@@
-138,13
+137,13
@@
if [ -z "$skip_all" ]; then
echo "psa finds processes by pattern, but there was no pattern on the command line."
return 1
fi
echo "psa finds processes by pattern, but there was no pattern on the command line."
return 1
fi
- p=$(psfind "$
1
")
+ p=$(psfind "$
{@}
")
if [ -z "$p" ]; then
# no matches.
return 0
fi
echo ""
if [ -z "$p" ]; then
# no matches.
return 0
fi
echo ""
- echo "Processes
containing \"$1\"
..."
+ echo "Processes
matching ${@}
..."
echo ""
if [ -n "$IS_DARWIN" ]; then
unset fuzil_sentinel
echo ""
if [ -n "$IS_DARWIN" ]; then
unset fuzil_sentinel