fix make-dist.sh

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2019-05-10 21:38:25 +02:00
parent db14eb990a
commit b8414b3d05
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
# this has to run once atfer git clone
# and every time we create new hooks
#### $$VERSION$$ v0.72-1-g67c47ac
#### $$VERSION$$ v0.72-3-gdb14eb9
# magic to ensure that we're always inside the root of our application,
# no matter from which directory we'll run script
@ -31,6 +31,7 @@ cp -r ${DISTFILES} "${DISTDIR}"
cd "${DISTDIR}" || exit 1
# additional stuff
mv "bashbot.rc" "bashbot.rc.dist"
mv "commands.sh" "commands.sh.dist"
mv "mycommands.sh" "mycommands.sh.dist"

View File

@ -2,7 +2,7 @@
# files: mycommands.sh.dist
# copy to mycommands.sh and add all your commands and functions here ...
#
#### $$VERSION$$ v0.72-1-g67c47ac
#### $$VERSION$$ v0.72-3-gdb14eb9
#
# shellcheck disable=SC2154
# shellcheck disable=SC2034
@ -64,6 +64,7 @@ else
#######################
# Inline query examples, do not use them in production (exept image search ;-)
# shellcheck disable=SC2128
iQUERY="${iQUERY,,}" # all lowercase
case "${iQUERY}" in
"image "*) # search images with yahoo
local search="${iQUERY#* }"