summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2014-01-22 18:33:41 (EST)
committer P. J. McDermott <pjm@nac.net>2014-01-22 18:33:41 (EST)
commit55f5dc2ac9874409c6ccba2d2d86fb11a74e1dc4 (patch)
treec95c8d8eeb3f8b81f52cc3f9fec3f6db6702a31b
parent47dc3414092e262c7e2ed1ef28d048fd5cf84798 (diff)
config: Truncate targets file before writing it.
-rwxr-xr-xconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/config b/config
index 82c6fe0..e4ce14d 100755
--- a/config
+++ b/config
@@ -14,6 +14,7 @@ main()
if [ -z "${PKG_TARGETS}" ]; then
PKG_TARGETS="$(cat targets.in)"
fi
+ >targets
for arch in ${PKG_TARGETS}; do
PKG_TARGET_ARCH="${arch}" configure_build
printf '%s\n' "${arch}" >>targets