feat(user/):Remove quotation marks from ots arguments
authorSteven Baltakatei Sandoval <baltakatei@gmail.com>
Sun, 1 May 2022 23:11:30 +0000 (23:11 +0000)
committerSteven Baltakatei Sandoval <baltakatei@gmail.com>
Sun, 1 May 2022 23:11:30 +0000 (23:11 +0000)
user/bkots

index d4df2ecea55e411039a859d5c362a33376daaf16..f829ce6887faa10990c0bdb50d86c56dd199c7df 100644 (file)
@@ -199,7 +199,7 @@ showVersion() {
     vbm "DEBUG:showVersion function called."
 
     cat <<'EOF'
-bkots 0.0.7
+bkots 0.0.8
 Copyright (C) 2022 Steven Baltakatei Sandoval
 License GPLv3: GNU GPL version 3
 This is free software; you are free to change and redistribute it.
@@ -626,10 +626,10 @@ main() {
             ### Try upgrade with known calendars in random order
             while read -r url; do
                 vbm "DEBUG:Upgrading with calendar:url:$url";
-                ots -l "$url" --no-default-whitelist upgrade "\"$path_prf\"" && break;
+                ots -l "$url" --no-default-whitelist upgrade "$path_prf" && break;
             done < <(printf "%s\n" "${calendars[@]}" | shuf);
         else
-            yell "DEBUG:DRY RUN:Not running:\"ots upgrade \"$path_prf\"\"";
+            yell "DEBUG:DRY RUN:Not running:\"ots upgrade $path_prf\"";
         fi;
         #sleep "$ots_delay";
     done;
@@ -648,10 +648,10 @@ main() {
             ### Try verify with known calendars in random order
             while read -r url; do
                 vbm "DEBUG:Verifying with calendar:url:$url";
-                ots -l "$url" --no-default-whitelist verify -f "\"$path_src\"" "\"$path_prf\"" && break;
+                ots -l "$url" --no-default-whitelist verify -f "$path_src" "$path_prf" && break;
             done < <(printf "%s\n" "${calendars[@]}" | shuf);
         else
-            yell "DEBUG:DRY RUN:Not running:\"ots verify -f \"$path_src\" \"$path_prf\"\"";
+            yell "DEBUG:DRY RUN:Not running:\"ots verify -f $path_src $path_prf\"";
         fi;
         #sleep "$ots_delay";
     done;
@@ -665,9 +665,9 @@ main() {
         fi;
         vbm "DEBUG:Attempting to stamp source file:path_src:$path_src";
         if [[ ! $option_dry_run == "true" ]]; then
-            ots stamp "\"$path_src\"";
+            ots stamp "$path_src";
         else
-            yell "DEBUG:DRY RUN:Not running:\"ots stamp \"$path_src\"\"";
+            yell "DEBUG:DRY RUN:Not running:\"ots stamp $path_src\"";
         fi;
         sleep "$ots_delay";
     done;