summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDenys Vlasenko2010-12-21 05:31:47 +0100
committerDenys Vlasenko2010-12-21 05:31:47 +0100
commit2a1571bfa003233470140a17be4ae4f0239f5a24 (patch)
tree57d2118dfaf31f19a0c5ad0acd8eb89a1c2cbfe7 /scripts
parent5ab20641d687bfe4d86d255f8c369af54b6026e7 (diff)
downloadbusybox-2a1571bfa003233470140a17be4ae4f0239f5a24.zip
busybox-2a1571bfa003233470140a17be4ae4f0239f5a24.tar.gz
apply post-1.18.0 patches, bump version to 1.18.11_18_1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gen_build_files.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/gen_build_files.sh b/scripts/gen_build_files.sh
index 130269b..620f495 100755
--- a/scripts/gen_build_files.sh
+++ b/scripts/gen_build_files.sh
@@ -18,14 +18,14 @@ generate()
local src="$1" dst="$2" header="$3" insert="$4"
#chk "${dst}"
(
- echo "${header}"
+ printf "%s\n" "${header}"
if grep -qs '^INSERT$' "${src}"; then
sed -n '1,/^INSERT$/p' "${src}"
- echo "${insert}"
+ printf "%s\n" "${insert}"
sed -n '/^INSERT$/,$p' "${src}"
else
if [ -n "${insert}" ]; then
- echo "ERROR: INSERT line missing in: ${src}" 1>&2
+ printf "%s\n" "ERROR: INSERT line missing in: ${src}" 1>&2
fi
cat "${src}"
fi