From c34576fd5726763f555f56206d7fae7e4aa055fe Mon Sep 17 00:00:00 2001 From: Justin Emter Date: Sun, 15 Oct 2017 15:44:29 -0700 Subject: [PATCH] Added wildcard to updatechannels.sh --- multi-channel-bash-scripts/updatechannels.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multi-channel-bash-scripts/updatechannels.sh b/multi-channel-bash-scripts/updatechannels.sh index 0da0e6e..2ea61f7 100644 --- a/multi-channel-bash-scripts/updatechannels.sh +++ b/multi-channel-bash-scripts/updatechannels.sh @@ -46,7 +46,7 @@ fi # If the file exists b # Scan the dir to see how many channels there are, store them in an arr. -CHANNEL_DIR_ARR=( $(find . -maxdepth 1 -type d -name '*'"$CHANNEL_DIR_INCREMENT_SYMBOL"'[[:digit:]]' -printf "%P\n") ) +CHANNEL_DIR_ARR=( $(find . -maxdepth 1 -type d -name '*'"$CHANNEL_DIR_INCREMENT_SYMBOL"'[[:digit:]]*' -printf "%P\n") ) # If this script see's there are multiple channels, # then loop through each channel and run the updates