Skip to content

Commit

Permalink
Add "|" escaping to wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
Zejnilovic authored Dec 7, 2023
1 parent dd58daf commit ca80c2a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/bash/s3a_wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ while [[ $# -gt 0 ]]; do
elif [ "$1" == "''" ]; then
# If the argument is ''
other_args+=("\'\'")
elif [ "$1" == "|" ]; then
# If the argument is a pipe character
other_args+=("'|'")
else
other_args+=("$1")
fi
Expand Down

0 comments on commit ca80c2a

Please sign in to comment.