Skip to content

Commit 4f3ce4b

Browse files
committed
v5.23.0
1 parent 1b9ee4c commit 4f3ce4b

2 files changed

Lines changed: 3 additions & 17 deletions

File tree

issues/issue-1-bash-version-check.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

multirun.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ if [ -z "$BASH_VERSION" ] || ! (echo "$BASH_VERSION" | awk -F. '{exit !($1 > 3 |
2929
fi
3030

3131
OLLAMA_MULTIRUN_NAME="ollama-multirun"
32-
OLLAMA_MULTIRUN_VERSION="5.22.2"
32+
OLLAMA_MULTIRUN_VERSION="5.23.0"
3333
OLLAMA_MULTIRUN_URL="https://github.com/attogram/ollama-multirun"
3434
OLLAMA_MULTIRUN_DISCORD="https://discord.gg/BGQJCbYVBa"
3535
OLLAMA_MULTIRUN_LICENSE="MIT"
@@ -160,7 +160,8 @@ safeString() {
160160
input=${input:0:length} # Truncate to first LENGTH characters
161161
input=$(echo "$input" | tr '[:upper:]' '[:lower:]') # Convert to lowercase
162162
input=${input// /_} # Replace spaces with underscores
163-
input=$(echo "$input" | sed 's/[^a-zA-Z0-9_]/_/g') # Replace non-allowed characters with underscores
163+
# input=$(echo "$input" | sed 's/[^a-zA-Z0-9_]/_/g') # Replace non-allowed characters with underscores
164+
input=$(echo "$input" | sed 's/[^a-zA-Z0-9_]/_/g' | tr -cd 'a-zA-Z0-9_') # Replace non-allowed characters with underscores
164165
echo "$input" # Output the sanitized string
165166
}
166167

0 commit comments

Comments
 (0)