summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Delpierre2015-09-08 14:56:52 +0200
committerGuillaume Delpierre2015-09-08 14:56:52 +0200
commitc7638eac9798ae10b1c76fe9f6e504e1a7c88f6c (patch)
tree2a68e2b4655dd23f63e9e5060eff324a8113363c
parent0681490bedcd51ff7853c332b574f60a40d24208 (diff)
Use bash builtin
-rwxr-xr-xphpmalwarefinder6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpmalwarefinder b/phpmalwarefinder
index e127a7d..6d4d047 100755
--- a/phpmalwarefinder
+++ b/phpmalwarefinder
@@ -1,9 +1,9 @@
1#!/usr/bin/env bash 1#!/usr/bin/env bash
2 2
3YARA=$(which yara) 3YARA=$(command -v yara)
4CONFIG_PATH='/etc/phpmalwarefinder/malwares.yara' 4CONFIG_PATH='/etc/phpmalwarefinder/malwares.yara'
5IONICE_BIN=$(which ionice) 5IONICE_BIN=$(command -v ionice)
6NICE_BIN=$(which nice) 6NICE_BIN=$(command -v nice)
7 7
8if [ ! -f "$YARA" ] 8if [ ! -f "$YARA" ]
9then 9then