cyphesis/tools/copy_python.sh
Al Riddoch 7516b9bc2e 2005-01-24 Al Riddoch <alriddoch@zepler.org>
* tools/cyphesis.sh: Add some notes on how to build a redistributable
	  binary.

	* tools/copy_python.sh: Add a script that copies the essential
	  elements of python runtime required to run cyphesis.
2005-01-24 18:25:53 +00:00

10 lines
281 B
Bash
Executable file

#!/bin/sh
cd lib
for i in `rpm -ql python | grep lib\/python | grep -v .pyc$ | grep -v .pyo$ | sed 's/\/usr\/lib\///' ` ; do
if [ -f /usr/lib/$i ] ; then
if [ ! -d `dirname $i` ] ; then
mkdir -p `dirname $i`
fi
cp /usr/lib/$i $i
fi
done