summaryrefslogtreecommitdiff
path: root/test/rules-test.sh
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2012-01-10 01:34:15 +0100
committerKay Sievers <kay.sievers@vrfy.org>2012-01-10 01:34:15 +0100
commit912541b0246ef315d4d851237483b98c9dd3f992 (patch)
treeadf2c660675d1953a653aba627bf365e7c5aa1f3 /test/rules-test.sh
parentebda27438b66d179c4ba4ac74bbe20df2d57446e (diff)
tabs are as useful as a hole in the head
Diffstat (limited to 'test/rules-test.sh')
-rwxr-xr-xtest/rules-test.sh8
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'`