Sha256: d78b89ff1cda38878a97123e328c5a849f088f18f7d1539672073c43cee050a7

Contents?: true

Size: 504 Bytes

Versions: 44

Compression:

Stored size: 504 Bytes

Contents

#!/bin/bash
# Copyright (c) 2011 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

set -e

lib="${BUILT_PRODUCTS_DIR}/${FULL_PRODUCT_NAME}"
nm ${lib} > /dev/null  # Just make sure this works.

pattern="${1}"

if [ $pattern != "a|b" ]; then
  echo "Parameter quote escaping is broken"
  exit 1
fi

if [ "${2}" != "arg with spaces" ]; then
  echo "Parameter space escaping is broken"
  exit 1
fi

touch "${lib}"_touch.a

Version data entries

44 entries across 44 versions & 7 rubygems

Version Path
libv8-3.11.8.3 vendor/v8/build/gyp/test/mac/postbuilds/script/static_library_postbuild.sh
libv8-3.11.8.1 vendor/v8/build/gyp/test/mac/postbuilds/script/static_library_postbuild.sh
libv8-3.11.8.0 vendor/v8/build/gyp/test/mac/postbuilds/script/static_library_postbuild.sh
libv8-3.10.8.0 vendor/v8/build/gyp/test/mac/postbuilds/script/static_library_postbuild.sh