compat-wireless: small fixes to admin-update.sh
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 1 Jan 2010 16:21:12 +0000 (17:21 +0100)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Wed, 6 Jan 2010 22:25:32 +0000 (14:25 -0800)
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
scripts/admin-update.sh

index 7c632029ab72736b54ce5518171e3f2355f0aba0..ddc64da9f64e5b5700c0339b754441998185195b 100755 (executable)
@@ -59,13 +59,13 @@ if [ -z $GIT_TREE ]; then
                exit 1
        fi
 else
-       echo "You said to use git tree at: $GIT_TREE for wireless"
+       echo "You said to use git tree at: $GIT_TREE for linux-next"
 fi
 
 if [ -z $GIT_COMPAT_TREE ]; then
        GIT_COMPAT_TREE="/home/$USER/compat/"
        if [ ! -d $GIT_COMPAT_TREE ]; then
-               echo "Please tell me where your bluetooth-testing git tree is."
+               echo "Please tell me where your compat git tree is."
                echo "You can do this by exporting its location as follows:"
                echo
                echo "  export GIT_COMPAT_TREE=/home/$USER/compat/"
@@ -75,7 +75,7 @@ if [ -z $GIT_COMPAT_TREE ]; then
                exit 1
        fi
 else
-       echo "You said to use git tree at: $GIT_COMPAT_TREE for bluetooth"
+       echo "You said to use git tree at: $GIT_COMPAT_TREE for compat"
 fi
 
 # Drivers that have their own directory
@@ -98,9 +98,9 @@ DRIVERS="$DRIVERS drivers/net/wireless/wl12xx"
 DRIVERS="$DRIVERS drivers/net/wireless/iwmc3200wifi"
 
 # Ethernet drivers
-DRIVERS="$DRIVERS drivers/net/atl1c/"
-DRIVERS="$DRIVERS drivers/net/atl1e/"
-DRIVERS="$DRIVERS drivers/net/atlx/"
+DRIVERS="$DRIVERS drivers/net/atl1c"
+DRIVERS="$DRIVERS drivers/net/atl1e"
+DRIVERS="$DRIVERS drivers/net/atlx"
 
 # Bluetooth drivers
 DRIVERS_BT="drivers/bluetooth"
@@ -306,6 +306,11 @@ if [ -d ./.git ]; then
                echo $MASTER_TAG > $DIR/master-tag
                echo -e "This is a ${RED}bleeding edge${NORMAL} compat-wireless release based on: ${PURPLE}$MASTER_TAG${NORMAL}"
                ;;
+       "linux-next.git") # The linux-next integration testing tree
+               MASTER_TAG=$(git tag -l| grep next | tail -1)
+               echo $MASTER_TAG > $DIR/master-tag
+               echo -e "This is a ${RED}bleeding edge${NORMAL} compat-wireless release based on: ${PURPLE}$MASTER_TAG${NORMAL}"
+               ;;
        "linux-2.6-allstable.git") # HPA's all stable tree
                echo -e "This is a ${GREEN}stable${NORMAL} compat-wireless release based on: ${PURPLE}$(git describe --abbrev=0)${NORMAL}"
                ;;