merge_config.sh: improve indentation
It is true that we do not want to move the code too far to the
right, but something like below is not preferred:
if [ "x$PREV_VAL" != "x$NEW_VAL" ] ; then
echo Value of $CFG is redefined by fragment $MERGE_FILE:
echo Previous value: $PREV_VAL
echo New value: $NEW_VAL
echo
elif [ "$WARNREDUN" = "true" ]; then
echo Value of $CFG is redundant by fragment $MERGE_FILE:
fi
To fix this, call "continue" if the "grep" command fails to find the
given CONFIG.
Change-Id: Iadc1211508d37339b3182aa144605f4f76700c7e
Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by:
Josh Triplett <josh@joshtriplett.org>
Reviewed-by:
Darren Hart <dvhart@linux.intel.com>
Signed-off-by:
Michal Marek <mmarek@suse.cz>
Git-commit: 3a975b8cfcbe026b535f83bde9a3c009bae214f9
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Signed-off-by:
Mohammed Khajapasha <mkhaja@codeaurora.org>
Signed-off-by:
Prasad Sodagudi <psodagud@codeaurora.org>
Loading
Please register or sign in to comment