mirror of
https://github.com/Fishwaldo/build.git
synced 2025-06-20 13:18:38 +00:00
Tiny fixes
This commit is contained in:
parent
a3aa5e4046
commit
4ad4ba33d6
2 changed files with 3 additions and 3 deletions
|
@ -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//.-/-}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
4
main.sh
4
main.sh
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue