Commit f3fda22d authored by Vladislav Yarmak's avatar Vladislav Yarmak

guard from CRLF newlines

parent b138238b
#!/bin/bash #!/bin/bash
# halt on any error for safety and proper pipe handling
set -euo pipefail set -euo pipefail ; # <- this semicolon and comment make options apply
# even when script is corrupt by CRLF line terminators (issue #75)
# empty line must follow this comment for immediate fail with CRLF newlines
backup_path="/opt/nvidia/libnvidia-encode-backup" backup_path="/opt/nvidia/libnvidia-encode-backup"
silent_flag='' silent_flag=''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment