diff options
Diffstat (limited to 'src/scripts/genfiles.sh')
| -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" |
