#! /bin/bash12# Author:3# * Jean-Pierre Flori <[email protected]>4#5# Rebase all dlls in the SAGE_ROOT directory (and its subdirectories),6# but do not touch the ones already stored in the system database,7# and do not update it.8# Note that subsequent calls to 'rebaseall' will not update the Sage dlls.9#10# Invoke this script from a shell after going to the SAGE_ROOT directory.1112echo "Getting list of dlls. This may take a while..."13/bin/find -name "*.dll" -o -name "*.so" > /tmp/sage-dlls.lst14echo "Now rebasing..."15/bin/rebase -O -T /tmp/sage-dlls.lst161718