Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sagesmc
Path: blob/master/src/bin/sage-rebaseall.sh
8817 views
1
#! /bin/dash
2
3
# Authors:
4
# * Gary Zablackis <[email protected]>
5
# * Dmitrii Pasechnik <[email protected]>
6
# * Jean-Pierre Flori <[email protected]>
7
#
8
# Rebase all dlls in the SAGE_ROOT directory (and its subdirectories)
9
# as well as the ones already stored in the system database,
10
# and update the database.
11
# This system-wide database is located in '/etc/rebase.db.i386' and
12
# includes the Cygwin system dlls.
13
#
14
# Invoke this script from a dash shell after going to the SAGE_ROOT directory.
15
# Ensure that no other Cygwin processes are currently running.
16
# Note that you need write access to the system-wide rebase database
17
# (which usually means admin rights).
18
19
echo "Getting list of dlls. This may take a while..."
20
/bin/find -name "*.dll" -o -name "*.so" > /tmp/sage-dlls.lst
21
echo "Now rebasing..."
22
/bin/rebaseall -T /tmp/sage-dlls.lst
23
24