Skip to content

Commit

Permalink
Use gfind if available (for Mac OS)
Browse files Browse the repository at this point in the history
  • Loading branch information
fbennett committed May 26, 2017
1 parent 5d2834d commit 24c6bc4
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions build.sh
Expand Up @@ -13,6 +13,13 @@ CLIENT="jurism"
VERSION_ROOT="5.0m"
SIGNED_STUB="juris_m-"

gfind --version > /dev/null 2<&1
if [ $? -gt 0 ]; then
function gfind () {
find
}
fi

function xx-remove-and-replace-old-build-dir () {
rm -fR build
for i in build build/styles build/translators; do
Expand All @@ -21,9 +28,9 @@ function xx-remove-and-replace-old-build-dir () {
}

function xx-save-aside-deleted-translators-list () {
if [ ${RELEASE} -gt 1 ]; then
#if [ ${RELEASE} -gt 1 ]; then
cp translators/deleted.txt .
fi
#fi
}

function xx-copy-files-into-xpi () {
Expand Down

0 comments on commit 24c6bc4

Please sign in to comment.