mirror of
https://github.com/worldforge/cyphesis
synced 2026-08-13 12:26:04 -04:00
* 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.
10 lines
281 B
Bash
Executable file
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
|