ipsilon-fedora/install.sh
Aurélien Bompard c32a6a5ce5
Use a patch file to patch openid
This will let us know if the target file is not what we expect.

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-09-18 10:21:55 +02:00

11 lines
307 B
Bash
Executable file

#!/bin/sh
set -e
SITE_PACKAGES=`python3 -Ic "from distutils.sysconfig import get_python_lib; print(get_python_lib())"`
set -x
cp -afv ipsilon ${ROOT}${SITE_PACKAGES}/
cat openid-server.patch | patch -p0 --fuzz 0 -d ${ROOT}${SITE_PACKAGES}/
python3 -m compileall ${ROOT}${SITE_PACKAGES}/{ipsilon,openid}