From a9ae5c0727e19a72b26d4404d92311117843160c Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Tue, 23 Oct 2018 15:16:47 +0200 Subject: [PATCH] Minor fix. --- devices/igb/update.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/devices/igb/update.sh b/devices/igb/update.sh index d5fed7a0..695194b8 100755 --- a/devices/igb/update.sh +++ b/devices/igb/update.sh @@ -1,15 +1,14 @@ #!/bin/bash - -KERNELDIR=$1 -PREVER=$2 -KERNELVER=$3 - if [ $# -ne 3 ]; then echo "Need 3 arguments: 1) kernel source dir, 2) previous version, 3) version to add" exit 1 fi +KERNELDIR=$1 +PREVER=$2 +KERNELVER=$3 + IGBDIR=drivers/net/ethernet/intel/igb FILES="e1000_82575.c e1000_82575.h e1000_defines.h e1000_hw.h e1000_i210.c e1000_i210.h e1000_mac.c e1000_mac.h e1000_mbx.c e1000_mbx.h e1000_nvm.c e1000_nvm.h e1000_phy.c e1000_phy.h e1000_regs.h igb_ethtool.c igb.h igb_hwmon.c igb_main.c igb_ptp.c"