about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSingustromo <singustromo@disroot.org>2023-11-02 07:15:06 +0100
committerSingustromo <singustromo@disroot.org>2023-11-02 07:15:06 +0100
commit51f1aa23bd344db0b16094a81c6bfa4519d75d8b (patch)
tree285f0038abc1b3698b84c4bfbca6510b2d46a36a
parenta6606c47fad02558a06426f0f15d9e06d73416e9 (diff)
downloadradio-sh-loader-support.tar.gz
radio-sh-loader-support.zip
Removed eval in System:depcheck() loader-support
-rw-r--r--inc/system.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/system.sh b/inc/system.sh
index a348366..1bf48db 100644
--- a/inc/system.sh
+++ b/inc/system.sh
@@ -65,7 +65,7 @@ System:depcheck() {
             file_checktype="${dependency:1:1}" # 2nd character
             [ "$file_checktype" == ':' ] && file_checktype='r' # fallback
             
-            if eval "[ ! -$file_checktype $filepath ]"; then
+            if [ ! -$file_checktype $filepath ]; then
                 unmet_files+="$filepath\n"
             else # Logging output
                 [ "$file_checktype" == "w" ] && msg_suffix="writable"