if [ -z ${CONDA_BUILD+x} ]; then
    source /opt/conda/conda-bld/bbmap_1571983782560/work/build_env_setup.sh
fi
#!/bin/bash

set -x -e -o pipefail

BINARY_HOME=$PREFIX/bin
BBMAP_HOME=$PREFIX/opt/$PKG_NAME-$PKG_VERSION-$PKG_BUILDNUM

mkdir -p $BINARY_HOME
mkdir -p $BBMAP_HOME

chmod a+x *.sh

cp -R * $BBMAP_HOME/

find *.sh -type f -exec ln -s $BBMAP_HOME/{} $BINARY_HOME/{} \;
