summaryrefslogtreecommitdiff
path: root/da5-notebooks/build.sh
blob: b7aa143c6c6a06b9dc549a233fa46ac084b54ed0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
if [[ -z ${PKG_NAME} ]]; then
    echo "Conda build has changed out from under you. PKG_NAME is undefined..."
    exit 1
fi

dest="${PREFIX}/share/${PKG_NAME}"
usedir="$(pwd)"

if [[ -d ${usedir}/work ]]; then
    usedir=${usedir}/work
fi

mkdir -p "${dest}"
rsync -a "${usedir}"/notebooks/ "${dest}"/