Skip to content

Commit

Permalink
ci: fix cp command compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Bambooin committed May 3, 2024
1 parent 5099648 commit b5987ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rimerc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ fi

# copy config to config path
mkdir -p ${RIME_CONFIG_PATH}
cp -ra ${RELEASE_PATH}/${INPUT_METHOD}/* ${RIME_CONFIG_PATH}
cp -a ${RELEASE_PATH}/${INPUT_METHOD}/* ${RIME_CONFIG_PATH}

# copy userdb to config path
cp -ra ${BACKUP_PATH}/*.userdb ${RIME_CONFIG_PATH}
cp -a ${BACKUP_PATH}/*.userdb ${RIME_CONFIG_PATH}

# restart input method
echo -e "\nWaiting for ${INPUT_METHOD} restart and deploying..."
Expand Down

0 comments on commit b5987ef

Please # to comment.