diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-11-14 11:05:34 +0100 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-11-14 11:05:34 +0100 |
commit | e7b975b0b62724bea7160c59e6f73f54f6d3a37e (patch) | |
tree | c657265122121071290d988fdc83cead3b077702 /install.sh | |
parent | deb1c115f94278c13362c42e05296cc887e09241 (diff) | |
download | xen-e7b975b0b62724bea7160c59e6f73f54f6d3a37e.tar.gz xen-e7b975b0b62724bea7160c59e6f73f54f6d3a37e.tar.bz2 xen-e7b975b0b62724bea7160c59e6f73f54f6d3a37e.zip |
If /sbin/ isn't in the path, udev rules will erroneously not get
installed.
Signed-off-by: Nivedita Singhvi <niv@us.ibm.com>
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install.sh b/install.sh index 49e88a2556..46e22abe6c 100755 --- a/install.sh +++ b/install.sh @@ -27,7 +27,7 @@ echo "Installing Xen from '$src' to '$dst'..." cp -fdRL $src/etc/init.d/* $dst/etc/init.d/ echo "All done." -if [ -x /sbin/udev ] && [ ! -z `udev -V` ] && [ `/sbin/udev -V` -ge 059 ]; then +if [ -x /sbin/udev ] && [ ! -z `/sbin/udev -V` ] && [ `/sbin/udev -V` -ge 059 ]; then cp -f $src/etc/udev/rules.d/*.rules $dst/etc/udev/rules.d/ else cp -f $src/etc/hotplug/*.agent $dst/etc/hotplug/ |