Skip to content

Commit

Permalink
fix cp flag blocking in macos
Browse files Browse the repository at this point in the history
  • Loading branch information
jpeedroza committed Oct 11, 2021
1 parent 78948e3 commit 9572878
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions vkpr/init/src/unix/formula/formula.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,6 @@ runFormula() {
installGlobals
installBats

# if [ "$RIT_INPUT_BOOLEAN" = "true" ]; then
# echoColor "blue" "I've already created formulas using Ritchie."
# else
# echoColor "red" "I'm excited in creating new formulas using Ritchie."
# fi

# echoColor "yellow" "Today, I want to automate $RIT_INPUT_LIST."
# echoColor "cyan" "My secret is $RIT_INPUT_PASSWORD."
}

installArkade() {
Expand Down Expand Up @@ -86,8 +78,7 @@ installGlobals() {
##Workaround to cp command with regex
#More details: https://www.oreilly.com/library/view/bash-quick-start/9781789538830/2609b05c-60fa-443d-bb5f-d5cd7626374f.xhtml
shopt -s extglob
## --update: copy only when the SOURCE file is newer than the destination file or when the destination file is missing.
eval 'cp --update $(dirname "$0")/utils/!(dependencies.sh|!(*.sh)) $VKPR_SCRIPTS'
eval 'cp $(dirname "$0")/utils/!(dependencies.sh|!(*.sh)) $VKPR_SCRIPTS'
}

installBats(){
Expand Down

0 comments on commit 9572878

Please sign in to comment.