[Lunar-commits] <moonbase-other> openafs-driver: cleanup

v4hn me at v4hn.de
Sun Sep 15 15:29:00 CEST 2013


commit 443fca600068098df266c015071f71033703e0a0
Author: v4hn <me at v4hn.de>
Date: Sun, 15 Sep 2013 06:00:24 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/443fca600068098df266c015071f71033703e0a0

openafs-driver: cleanup

- add missing &&'s
- use false instead of exit
- remove redundant check - install will fail anyway
---
  filesys/openafs-driver/BUILD | +4/-4     
  1 file changed, 4 insertions(+), 4 deletions(-)

--- a/filesys/openafs-driver/BUILD
+++ b/filesys/openafs-driver/BUILD
@@ -1,12 +1,12 @@
-OPTS+=" --with-linux-kernel-headers=/usr/src/linux"
+OPTS+=" --with-linux-kernel-headers=/usr/src/linux" &&
 
 case `uname -r` in
   2.6.*|3.*)
     kv="26"
     ;;
   *)
-    message "Unsupported kernel version!"
-    exit -1
+    message "Unsupported kernel version!" &&
+    false
     ;;
 esac &&
 
@@ -35,5 +35,5 @@ prepare_install &&
 
 MODDIR=$(expr $SOURCE_DIRECTORY/src/libafs/MODLOAD-*) &&
 KVER=$(echo ${MODDIR##*/} | awk -F- '{ print $2 }') &&
-[ -f ${MODDIR}/libafs.ko ] &&
+
 install -D -m 644 $MODDIR/libafs.ko /lib/modules/${KVER}/kernel/fs/openafs/libafs.ko




More information about the Lunar-commits mailing list