From cc617a823c8af037a64331cde490d990b9b234c1 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Wed, 15 Mar 2017 11:10:48 -0400 Subject: Fix bri compilation cc will remove the file itself just fine. Always exit in case any of the shell commands fail. --- .bin/bri.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.bin/bri.c') diff --git a/.bin/bri.c b/.bin/bri.c index 88a11994..25c18aba 100755 --- a/.bin/bri.c +++ b/.bin/bri.c @@ -1,8 +1,8 @@ #if 0 -sudo rm $(dirname $0)/bri && \ cc -Wall -Wextra -pedantic $@ -o $(dirname $0)/bri $0 && \ sudo chown root:root $(dirname $0)/bri && \ -exec sudo chmod u+s $(dirname $0)/bri +sudo chmod u+s $(dirname $0)/bri +exit #endif // Backlight brightness control. -- cgit 1.4.1