aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-10-13 17:26:52 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-10-17 14:05:03 +0200
commit7a1ffb659cd2fc39900fd3b466a237bec82b4739 (patch)
treee72f847a5f41c71d3a83a957ea1eb3aea3e59a90 /global-functions.rsc
parentc0a734fa217a9b94c6cba6071aed2d57fd886c75 (diff)
global-functions: $ScriptInstallUpdate: rename variable
Diffstat (limited to 'global-functions.rsc')
-rw-r--r--global-functions.rsc8
1 files changed, 4 insertions, 4 deletions
diff --git a/global-functions.rsc b/global-functions.rsc
index 896d6ce..d9a040e 100644
--- a/global-functions.rsc
+++ b/global-functions.rsc
@@ -894,13 +894,13 @@
}
:if ([ :len $SourceNew ] = 0 && $ScriptUpdatesFetch = true) do={
- :local Comment [ $ParseKeyValueStore ($ScriptVal->"comment") ];
- :if (!($Comment->"ignore" = true)) do={
+ :local ScriptInfo [ $ParseKeyValueStore ($ScriptVal->"comment") ];
+ :if (!($ScriptInfo->"ignore" = true)) do={
:do {
:local BaseUrl $ScriptUpdatesBaseUrl;
:local UrlSuffix $ScriptUpdatesUrlSuffix;
- :if ([ :typeof ($Comment->"base-url") ] = "str") do={ :set BaseUrl ($Comment->"base-url"); }
- :if ([ :typeof ($Comment->"url-suffix") ] = "str") do={ :set UrlSuffix ($Comment->"url-suffix"); }
+ :if ([ :typeof ($ScriptInfo->"base-url") ] = "str") do={ :set BaseUrl ($ScriptInfo->"base-url"); }
+ :if ([ :typeof ($ScriptInfo->"url-suffix") ] = "str") do={ :set UrlSuffix ($ScriptInfo->"url-suffix"); }
:local Url ($BaseUrl . $ScriptVal->"name" . ".rsc" . $UrlSuffix);
$LogPrintExit2 debug $0 ("Fetching script '" . $ScriptVal->"name" . "' from url: " . $Url) false;