Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
[gecko.git] / build / genrc.sh
blobc0c6194624adc16c13892000989dd8671db37933
1 #!/bin/sh
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 DATATYPE="$1"
8 INFILE="$2"
10 echo "${DATATYPE} RCDATA"
11 sed 's/"/""/g' ${INFILE} | awk 'BEGIN { printf("BEGIN\n") } { printf("\"%s\\r\\n\",\n", $0) } END { printf("\"\\0\"\nEND\n") }'
13 exit 0