diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2012-01-10 01:34:15 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2012-01-10 01:34:15 +0100 |
commit | 912541b0246ef315d4d851237483b98c9dd3f992 (patch) | |
tree | adf2c660675d1953a653aba627bf365e7c5aa1f3 /test/rules-test.sh | |
parent | ebda27438b66d179c4ba4ac74bbe20df2d57446e (diff) |
tabs are as useful as a hole in the head
Diffstat (limited to 'test/rules-test.sh')
-rwxr-xr-x | test/rules-test.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test/rules-test.sh b/test/rules-test.sh index 511f05d9ee..1e224ff8b5 100755 --- a/test/rules-test.sh +++ b/test/rules-test.sh @@ -1,17 +1,15 @@ -#!/usr/bin/env sh +#!/bin/sh # Call the udev rule syntax checker on all rules that we ship # # (C) 2010 Canonical Ltd. # Author: Martin Pitt <martin.pitt@ubuntu.com> -set -e - [ -n "$srcdir" ] || srcdir=`dirname $0`/.. # skip if we don't have python type python >/dev/null 2>&1 || { - echo "$0: No python installed, skipping udev rule syntax check" - exit 0 + echo "$0: No python installed, skipping udev rule syntax check" + exit 0 } $srcdir/test/rule-syntax-check.py `find $srcdir/rules -name '*.rules'` |