Revision 7acfd5c893ebbed735ddb8b4d6a5faaeb7cf14a5 authored by Rail Aliiev on 19 February 2016, 20:53:03 UTC, committed by Rail Aliiev on 19 February 2016, 20:53:03 UTC
MozReview-Commit-ID: He8F3nGxzb0

--HG--
rename : testing/mozharness/mozharness/mozilla/merge.py => testing/mozharness/mozharness/mozilla/repo_manupulation.py
extra : source : 93654b236653d2628b7d49ebe2b825bc85d4c754
1 parent 0490dc7
Raw File
genrc.sh
#!/bin/sh
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

DATATYPE="$1"
INFILE="$2"

echo "${DATATYPE} RCDATA"
sed 's/"/""/g' ${INFILE} | awk 'BEGIN { printf("BEGIN\n") } { printf("\"%s\\r\\n\",\n", $0) } END { printf("\"\\0\"\nEND\n") }'

exit 0
back to top