From 9341bdac98da0ea200953f74faee9406753f5eb6 Mon Sep 17 00:00:00 2001 From: Bryan Jenks Date: Tue, 28 Apr 2020 15:23:01 -0700 Subject: [PATCH] move around brace expansion for file gen --- flash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flash b/flash index 083386b..263d55c 100755 --- a/flash +++ b/flash @@ -110,7 +110,7 @@ if [ ! -d "$DIR" ];then read RESPONSE case "$RESPONSE" in [QqNn]) exit ;; - [Yy]) mkdir "$DIR" && touch {"$EXAMPLE_DECK","$HIGH_SCORE","$REVIEW_LOG"} && echo "$DECK_TEMPLATE" > "$EXAMPLE_DECK" && echo -e "$DIR_MADE_MSG" && exit;; + [Yy]) mkdir "$DIR" && touch "$DIR"{/deck.csv,/.highscore,/.reviews} && echo "$DECK_TEMPLATE" > "$EXAMPLE_DECK" && echo -e "$DIR_MADE_MSG" && exit ;; *) echo -e "invalid choice, please select either ${LGREEN}y${NC} or ${LRED}n${NC}" && exit ;; esac fi