1
0
mirror of https://github.com/keylase/nvidia-patch/ synced 2026-01-04 17:43:55 +00:00

Merge pull request #76 from Snawoot/crlf_guard

Guard from CRLF newlines
This commit is contained in:
Vladislav Yarmak
2019-03-09 23:14:27 +02:00
committed by GitHub

View File

@@ -1,6 +1,8 @@
#!/bin/bash
set -euo pipefail
# halt on any error for safety and proper pipe handling
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"
silent_flag=''