This commit is contained in:
2023-04-27 23:44:49 -07:00
parent ab94b78c42
commit 1b20991ad6

View File

@@ -36,7 +36,8 @@ runs:
run: | run: |
# Replace each space with a backslash and a space # Replace each space with a backslash and a space
TARGET="${${{ inputs.target }}// /\\ }" TARGET="${${{ inputs.target }}// /\\ }"
COMMAND="cp ${{ inputs.target }} ${{ inputs.dest }}" DEST="${${{ inputs.dest }}// /\\ }"
COMMAND="cp $TARGET $DEST"
RECURSIVE="${{ inputs.recursive }}" RECURSIVE="${{ inputs.recursive }}"
if [[ "$RECURSIVE" == "true" ]]; then if [[ "$RECURSIVE" == "true" ]]; then
COMMAND="$COMMAND --recursive" COMMAND="$COMMAND --recursive"