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 | 131 | if test "$CONFIG_LOCALVERSION_AUTO" = "y"; then |
| 132 | 132 | # full scm version string |
| 133 | 133 | res="$res$(scm_version)" |
| 134 | −else | |
| 134 | +elif [ -z "${LOCALVERSION}" ]; then | |
| 135 | 135 | # append a plus sign if the repository is not in a clean |
| 136 | 136 | # annotated or signed tagged state (as git describe only |
| 137 | 137 | # looks at signed or annotated tags - git tag -a/-s) and |
| 138 | 138 | # LOCALVERSION= is not specified |
| 139 | − if test "${LOCALVERSION+set}" != "set"; then | |
| 140 | − scm=$(scm_version --short) | |
| 141 | − res="$res${scm:++}" | |
| 142 | − fi | |
| 139 | + scm=$(scm_version --short) | |
| 140 | + res="$res${scm:++}" | |
| 143 | 141 | fi |
| 144 | 142 | |
| 145 | 143 | echo "$res" |