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

APPROOT="${PREFIX}/opt/${PKG_NAME}-${PKG_VERSION}"


mkdir -p ${APPROOT}
mkdir -p ${PREFIX}/bin
cp -Rv ./* ${APPROOT}/
# cp -av dqc $APPROOT/dqc
# cp -v dfast_qc $APPROOT
# cp -v dqc_admin_tools.py $APPROOT
# cp -v initial_setup.sh $APPROOT

# cp -av dqc ${PREFIX}/bin/dqc
# cp -v dfast_qc ${PREFIX}/bin
# cp -v dqc_admin_tools.py ${PREFIX}/bin
# cp -v initial_setup.sh ${PREFIX}/bin

# cd ${PREFIX}/bin
ln -s ${APPROOT}/dfast_qc ${PREFIX}/bin/
ln -s ${APPROOT}/dqc_admin_tools.py ${PREFIX}/bin/
ln -s ${APPROOT}/dqc_initial_setup.sh ${PREFIX}/bin/
ln -s ${APPROOT}/dqc_ref_manager.py ${PREFIX}/bin/
ln -s ${APPROOT}/dqc_multi ${PREFIX}/bin/

# ${PREFIX}/bin/dfast_qc --version
dfast_qc --version
dfast_qc -h
