diff --git a/kernel.sh b/kernel.sh index 232eaca..c27efbc 100644 --- a/kernel.sh +++ b/kernel.sh @@ -468,9 +468,9 @@ doDefaults() { doEchoStep "Define options" if [ "$CLANG" == "1" ]; then - ./scripts/config --set-str CONFIG_LOCALVERSION '${SEC}-clang' + ./scripts/config --set-str CONFIG_LOCALVERSION "${SEC}-clang" else - ./scripts/config --set-str CONFIG_LOCALVERSION '${SEC}-gcc' + ./scripts/config --set-str CONFIG_LOCALVERSION "${SEC}-gcc" fi doDefaultsDisable @@ -583,11 +583,11 @@ doCompile() { cd $WORKDIR REVISION=1 - if [ -f revision.log ]; then - REVISION="`head -1 revision.log`" + if [ -f ../revision.log ]; then + REVISION="`head -1 ../revision.log`" REVISION=$((REVISION+1)) fi - echo $REVISION > revision.log + echo $REVISION > ../revision.log doStripSig doStripDebug