diff options
| author | David M. Syzdek <david@syzdek.net> | 2018-04-27 15:12:09 -0800 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2018-04-27 15:12:09 -0800 |
| commit | 53e727a15834badcd3ed0d5d4d3167f6e5b61c7b (patch) | |
| tree | 04882d4b649270c4793fd24cb2f7e492130e6738 | |
| parent | 8c77247511fdf3657ebb08a2445821607e959eaf (diff) | |
| download | iperd-53e727a15834badcd3ed0d5d4d3167f6e5b61c7b.tar.gz iperd-53e727a15834badcd3ed0d5d4d3167f6e5b61c7b.tar.bz2 iperd-53e727a15834badcd3ed0d5d4d3167f6e5b61c7b.tar.xz iperd-53e727a15834badcd3ed0d5d4d3167f6e5b61c7b.zip | |
Adjusting whitespace
| -rwxr-xr-x | src/scripts/genfiles.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/scripts/genfiles.sh b/src/scripts/genfiles.sh index f4cdf5c..a28e122 100755 --- a/src/scripts/genfiles.sh +++ b/src/scripts/genfiles.sh | |||
| @@ -148,10 +148,12 @@ gen_dosubst() | |||
| 148 | DISTRO="${1}" | 148 | DISTRO="${1}" |
| 149 | PREFIX="${2}" | 149 | PREFIX="${2}" |
| 150 | FILES="${3}" | 150 | FILES="${3}" |
| 151 | |||
| 151 | if test -f "${DISTRODIR}/${DISTRO}/${PREFIX}.header";then | 152 | if test -f "${DISTRODIR}/${DISTRO}/${PREFIX}.header";then |
| 152 | CFG_DEP_FILES="${CFG_DEP_FILES} ${DISTRODIR}/${DISTRO}/${PREFIX}.header" | 153 | CFG_DEP_FILES="${CFG_DEP_FILES} ${DISTRODIR}/${DISTRO}/${PREFIX}.header" |
| 153 | cat "${DISTRODIR}/${DISTRO}/${PREFIX}.header" | 154 | cat "${DISTRODIR}/${DISTRO}/${PREFIX}.header" |
| 154 | fi | 155 | fi |
| 156 | |||
| 155 | for VERS in $(egrep "^#${DISTRO}-" "${CONFIG}");do | 157 | for VERS in $(egrep "^#${DISTRO}-" "${CONFIG}");do |
| 156 | VERSION=$(echo "${VERS}" |cut -d- -f2) | 158 | VERSION=$(echo "${VERS}" |cut -d- -f2) |
| 157 | CODENAME=$(echo "${VERS}" |cut -d- -f3) | 159 | CODENAME=$(echo "${VERS}" |cut -d- -f3) |
| @@ -170,6 +172,7 @@ gen_dosubst() | |||
| 170 | fi | 172 | fi |
| 171 | done | 173 | done |
| 172 | done | 174 | done |
| 175 | |||
| 173 | if test -f "${DISTRODIR}/${DISTRO}/${PREFIX}.footer";then | 176 | if test -f "${DISTRODIR}/${DISTRO}/${PREFIX}.footer";then |
| 174 | CFG_DEP_FILES="${CFG_DEP_FILES} ${DISTRODIR}/${DISTRO}/${PREFIX}.footer" | 177 | CFG_DEP_FILES="${CFG_DEP_FILES} ${DISTRODIR}/${DISTRO}/${PREFIX}.footer" |
| 175 | cat "${DISTRODIR}/${DISTRO}/${PREFIX}.footer" | 178 | cat "${DISTRODIR}/${DISTRO}/${PREFIX}.footer" |
