From 2c8a4a30946bcb1c881f417b85c96914786cf128 Mon Sep 17 00:00:00 2001 From: Guillaume Delpierre Date: Tue, 8 Sep 2015 15:28:41 +0200 Subject: Use type built-in instead of command --- phpmalwarefinder | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phpmalwarefinder b/phpmalwarefinder index d6081e1..c49a7bd 100755 --- a/phpmalwarefinder +++ b/phpmalwarefinder @@ -1,9 +1,9 @@ #!/usr/bin/env bash -YARA=$(command -v yara) +YARA=$(type -P yara) CONFIG_PATH='/etc/phpmalwarefinder/malwares.yara' -IONICE_BIN=$(command -v ionice) -NICE_BIN=$(command -v nice) +IONICE_BIN=$(type -P ionice) +NICE_BIN=$(type -P nice) if [ ! -f "$YARA" ] then -- cgit v1.3