Created
November 19, 2025 21:48
-
-
Save Pobega/e9a0f509258eee42b1766a70031d00ba to your computer and use it in GitHub Desktop.
Operius DX Patchscript fixes (for non-bash shells) (NextUI)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 137c137,139 | |
| < if [ -z "${!var}" ]; then | |
| --- | |
| > # Use POSIX eval over indirect parameter expansion | |
| > eval "var_value=\$$varname" | |
| > if [ -z "$var_value" ]; then | |
| 169c171,172 | |
| < basename="${item##*/}" | |
| --- | |
| > # Use POSIX basename command instead of bash parameter expansion | |
| > basename="$(basename "$item")" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment