From: Hauke Mehrtens Date: Fri, 1 Jan 2010 16:21:12 +0000 (+0100) Subject: compat-wireless: small fixes to admin-update.sh X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f5a4e017602a182c6fe14e79bd932126e2d9c633;p=openwrt%2Fstaging%2Fblogic.git compat-wireless: small fixes to admin-update.sh Signed-off-by: Hauke Mehrtens --- diff --git a/scripts/admin-update.sh b/scripts/admin-update.sh index 7c632029ab72..ddc64da9f64e 100755 --- a/scripts/admin-update.sh +++ b/scripts/admin-update.sh @@ -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}" ;;