Tiny fixes

This commit is contained in:
Igor Pečovnik 2015-12-09 14:39:41 +01:00
parent a3aa5e4046
commit 4ad4ba33d6
2 changed files with 3 additions and 3 deletions

View file

@ -174,7 +174,7 @@ grab_version ()
tmp=$(cat $1/Makefile | grep $dir | head -1 | awk '{print $(NF)}' | cut -d '=' -f 2)"#" tmp=$(cat $1/Makefile | grep $dir | head -1 | awk '{print $(NF)}' | cut -d '=' -f 2)"#"
[[ $tmp != "#" ]] && VER=$VER"$tmp" [[ $tmp != "#" ]] && VER=$VER"$tmp"
done done
VER=${VER//#/.}; VER=${VER%.}; VER="v"${VER//.-/-} VER=${VER//#/.}; VER=${VER%.}; VER=${VER//.-/-}
} }

View file

@ -261,7 +261,7 @@
# Some old branches are tagged # Some old branches are tagged
#if [ "$BRANCH" == "default" ]; then KERNELTAG="$LINUXBRANCH"; fi #if [ "$BRANCH" == "default" ]; then KERNELTAG="$LINUXBRANCH"; fi
[ $CLEAN_LEVEL == 4 ] && cleaning "$CLEAN_LEVEL" [ "$CLEAN_LEVEL" == "4" ] && cleaning "$CLEAN_LEVEL"
display_alert "source downloading" "@host" "info" display_alert "source downloading" "@host" "info"
fetch_from_github "$BOOTLOADER" "$BOOTSOURCE" "$BOOTBRANCH" "yes" fetch_from_github "$BOOTLOADER" "$BOOTSOURCE" "$BOOTBRANCH" "yes"
@ -289,7 +289,7 @@
HEADERS_CACHE="${CHOOSEN_KERNEL/image/cache}" HEADERS_CACHE="${CHOOSEN_KERNEL/image/cache}"
# cleaning level 0,1,2,3 # cleaning level 0,1,2,3
[ $CLEAN_LEVEL != 4 ] && cleaning "$CLEAN_LEVEL" [ "$CLEAN_LEVEL" != "4" ] && cleaning "$CLEAN_LEVEL"
# patching sources # patching sources
patching_sources patching_sources