diff --git a/scripts/cli.sh b/scripts/cli.sh index 5dee050235..b7c19d7f47 100755 --- a/scripts/cli.sh +++ b/scripts/cli.sh @@ -74,7 +74,7 @@ if [[ -z $diff ]]; then # check for difference update+=(false) return 1 # exit a function (i.e., do nothing) else - cp $2 ./book/src + cp $2 $1 changes=true update+=(true) fi