Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sage
Path: blob/develop/build/pkgs/buckygen/spkg-install.in
4086 views
if [ -z "$SAGE_LOCAL" ]; then
    echo >&2 "SAGE_LOCAL undefined ... exiting"
    echo >&2 "Maybe run 'sage --sh'?"
    exit 1
fi

cd src

$MAKE
if [ $? -ne 0 ]; then
    echo >&2 "Error building buckygen."
    exit 1
fi

echo >&2 "Copying buckygen..."
cp buckygen $SAGE_LOCAL/bin/buckygen
if [ $? -ne 0 ]; then
    echo >&2 "Error installing buckygen."
    exit 1
fi