From d8fc48a161ac0eb24a42724d6960ddc4993d73a9 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 18 May 2013 13:36:58 -0400 Subject: config: Substitute vars in *.pkg.in/files. --- (limited to 'config') 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 -- cgit v0.9.1