Browse Source

Merge pull request #529 from danyocom/master

Changed util scripts to depend on sh instead of bash
v1.x
Juriy Zaytsev 10 years ago
parent
commit
1c1d93e617
  1. 2
      util/cairo_include.sh
  2. 2
      util/has_cairo_freetype.sh
  3. 2
      util/has_lib.sh
  4. 2
      util/lib_lookup.sh

2
util/cairo_include.sh

@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/usr/bin/env sh
# Make pkg-config lookup include files from the build directory.
export PKG_CONFIG_PATH=$(cd "$(dirname "$0")"; pwd)/../build_cairo/lib/pkgconfig;

2
util/has_cairo_freetype.sh

@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/usr/bin/env sh
has_freetype() {
pkg-config cairo --cflags-only-I | grep freetype2

2
util/has_lib.sh

@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/usr/bin/env sh
has_lib() {
local regex="lib$1.+(so|dylib)"

2
util/lib_lookup.sh

@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/usr/bin/env sh
# Make pkg-config lookup include files from the build directory.
export PKG_CONFIG_PATH=$(cd "$(dirname "$0")"; pwd)/../build_cairo/lib/pkgconfig;

Loading…
Cancel
Save