summaryrefslogtreecommitdiff
path: root/scripts/headers.sh
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-03-13 15:21:41 +0900
committerMichal Marek <mmarek@suse.cz>2015-03-24 16:48:44 +0100
commit3a975b8cfcbe026b535f83bde9a3c009bae214f9 (patch)
treef15341a6f0f32da859fa202ecb73fda5194ba65c /scripts/headers.sh
parent371cfd4ff0611d8bc5d18bbb9cc6a2bc3d56cd3d (diff)
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. 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>
Diffstat (limited to 'scripts/headers.sh')
0 files changed, 0 insertions, 0 deletions