We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0543b3 commit 92769d1Copy full SHA for 92769d1
generator.sh
@@ -8,9 +8,10 @@ distPrefix="ColorEcho"
8
table="color table.txt"
9
10
# use ColorEcho
11
+bashDist="${distFolder}/${distPrefix}.bash"
12
# shellcheck source=dist/ColorEcho.bash
-if [ ! -r "${distFolder}/${distPrefix}.bash" ] || [ ! -s "${distFolder}/${distPrefix}.bash" ] || ! . "${distFolder}/${distPrefix}.bash" &> /dev/null; then
13
- echo "${distFolder}/${distPrefix}.bash" is not usable, fallback to use origin echo
+if [ ! -r "$bashDist" ] || [ ! -s "$bashDist" ] || ! . "$bashDist" &> /dev/null; then
14
+ echo "${bashDist}" is not usable, fallback to use origin echo
15
alias echo.BoldRed='echo'
16
alias echo.BoldGreen='echo'
17
alias echo.BoldYellow='echo'
0 commit comments