From 55f5dc2ac9874409c6ccba2d2d86fb11a74e1dc4 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 22 Jan 2014 18:33:41 -0500 Subject: config: Truncate targets file before writing it. --- (limited to 'config') 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 -- cgit v0.9.1