shithub: aubio

ref: 80c0417c84d6f98064b7aa2ac5d9b22c496e68df
dir: /plugins/puredata/libtoolkludge/

View raw version
#! /bin/sh

# added --mode=link
if test \( $# -gt 1 \) -a \( $1 = "--mode=link" \); then
  shift;
  echo " libtoolkludge running \"$*\""
  $*
  exit 0
elif test \( $# -gt 1 \) -a \( $1 = "--mode=install" \); then
  shift;
  echo " libtoolkludge running \"$*\""
  $*
  exit 0
else
  echo "Libtoolkludge is a kludge for libtool --mode=install only.  Die!" >&2
  exit 1
fi