This commit is contained in:
2023-04-27 23:46:03 -07:00
parent 1b20991ad6
commit 229622f9cf

View File

@@ -35,8 +35,10 @@ runs:
id: command id: command
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 }}"
DEST="${${{ inputs.dest }}// /\\ }" TARGET="${TARGET// /\\ }"
DEST="${{ inputs.dest }}"
DEST="${DEST// /\\ }"
COMMAND="cp $TARGET $DEST" COMMAND="cp $TARGET $DEST"
RECURSIVE="${{ inputs.recursive }}" RECURSIVE="${{ inputs.recursive }}"
if [[ "$RECURSIVE" == "true" ]]; then if [[ "$RECURSIVE" == "true" ]]; then