From f6a3e4c2446c19227d7cea1be2bc70196df72d4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Hrb=C3=A1=C4=8D?= <david@hrbac.cz>
Date: Thu, 8 Nov 2018 10:41:46 +0100
Subject: [PATCH] Code refactored

---
 get_modules.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/get_modules.sh b/get_modules.sh
index b9626594..901af27a 100755
--- a/get_modules.sh
+++ b/get_modules.sh
@@ -20,8 +20,8 @@ else
    for resource in "/appsuv/modules,uv2000" "/apps/phi/modules,phi"
    do
        MODULEBASE=${resource%,*}
-       FILENAME=${resource#*,}
        MODULEPATH=""
+       FILENAME=${resource#*,}
 
         for dir in $MODULEBASE
         do
-- 
GitLab