summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-05-18 13:36:58 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-05-18 13:36:58 (EDT)
commitd8fc48a161ac0eb24a42724d6960ddc4993d73a9 (patch)
treeb403b09eb3b23aef7a8c1ccee5131857ef937a7b
parentcc25287b71b925239e972d71fed9c55e62e84dec (diff)
config: Substitute vars in *.pkg.in/files.
-rwxr-xr-xconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/config b/config
index a33c2f2..fedf288 100755
--- a/config
+++ b/config
@@ -42,7 +42,8 @@ configure_build()
mkdir -p "${_pkg}-${PKG_TARGET_ARCH}.pkg"
sed "${_ss}" "${_pkg}.pkg.in/control" \
>"${_pkg}-${PKG_TARGET_ARCH}.pkg/control"
- cp "${_pkg}.pkg.in/files" "${_pkg}-${PKG_TARGET_ARCH}.pkg/files"
+ sed "${_ss}" "${_pkg}.pkg.in/files" \
+ >"${_pkg}-${PKG_TARGET_ARCH}.pkg/files"
msg 'Metadata for package "%s" generated.' \
"${_pkg}-${PKG_TARGET_ARCH}"
done