stefanpartheym / archlinux-ipu6-webcam

Easy installation for patched Intel IPU6 camera drivers
133 stars 14 forks source link

Add pipefail, lint install.sh with shfmt #27

Closed hinricht closed 12 months ago

hinricht commented 1 year ago

set -euo pipefail acts as a bash safety-net, it breaks immidiately on errors (also ones on the left side of a shell pipe), and also break on undefined variables. With this, no in-between error will happen hidden in the large output.

alvinpeters commented 1 year ago

LGTM

Tested this on my fresh Arch Linux install and works perfect!