Reduce the indentation.
Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -131,15 +131,13 @@ res="${res}${CONFIG_LOCALVERSION}${LOCALVERSION}" · 130 unmodified lines | |||
| 131 | if test "$CONFIG_LOCALVERSION_AUTO" = "y"; then | 131 | if test "$CONFIG_LOCALVERSION_AUTO" = "y"; then |
| 132 | # full scm version string | 132 | # full scm version string |
| 133 | res="$res$(scm_version)" | 133 | res="$res$(scm_version)" |
| 134 | else | 134 | elif [ -z "${LOCALVERSION}" ]; then |
| 135 | # append a plus sign if the repository is not in a clean | 135 | # append a plus sign if the repository is not in a clean |
| 136 | # annotated or signed tagged state (as git describe only | 136 | # annotated or signed tagged state (as git describe only |
| 137 | # looks at signed or annotated tags - git tag -a/-s) and | 137 | # looks at signed or annotated tags - git tag -a/-s) and |
| 138 | # LOCALVERSION= is not specified | 138 | # LOCALVERSION= is not specified |
| 139 | if test "${LOCALVERSION+set}" != "set"; then | 139 | scm=$(scm_version --short) |
| 140 | scm=$(scm_version --short) | 140 | res="$res${scm:++}" |
| 141 | res="$res${scm:++}" | ||
| 142 | fi | ||
| 143 | fi | 141 | fi |
| 144 | 142 | ||
| 145 | echo "$res" | 143 | echo "$res" |