media/pocketsphinx/update.sh
author Gregory Szorc <gps@mozilla.com>
Wed, 01 Jun 2016 17:06:01 -0700
changeset 301526 cec0b6d316a992d47a8ab7bd8f2e961130fae99a
parent 247012 efe257c2ba148e29ea4d321594b87307fbc45301
permissions -rwxr-xr-x
Bug 1277406 - Move `mach mercurial-setup` implementation into bootstrap; r=glandium This begins the consolidation of `mach mercurial-setup` into `mach bootstrap`. The first step is to move the content of the mach_commands.py file into the bootstrapper's. I'm not crazy about adding the sys.path entry for tools/mercurial. I intend to clean this up later. MozReview-Commit-ID: Cq56wPG8sO1

#!/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/.

#
# Usage: ./update.sh <pocketsphinx_directory>
#
# Copies the needed files from a directory containing the original
# pocketsphinx source.

cp $1/include/*.h .
cp $1/src/libpocketsphinx/*.c src/
cp $1/src/libpocketsphinx/*.h src/