Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sagesmc
Path: blob/master/src/bin/sage-rebase.sh
8817 views
1
#! /bin/bash
2
3
# Author:
4
# * Jean-Pierre Flori <[email protected]>
5
#
6
# Rebase all dlls in the SAGE_ROOT directory (and its subdirectories),
7
# but do not touch the ones already stored in the system database,
8
# and do not update it.
9
# Note that subsequent calls to 'rebaseall' will not update the Sage dlls.
10
#
11
# Invoke this script from a shell after going to the SAGE_ROOT directory.
12
13
echo "Getting list of dlls. This may take a while..."
14
/bin/find -name "*.dll" -o -name "*.so" > /tmp/sage-dlls.lst
15
echo "Now rebasing..."
16
/bin/rebase -O -T /tmp/sage-dlls.lst
17
18