From 442964e16c425da84025035793b81301ee183f01 Mon Sep 17 00:00:00 2001 From: Tomas Cejka <cejkat@cesnet.cz> Date: Mon, 15 Apr 2019 16:45:41 +0200 Subject: [PATCH] patch-dependencies: virtualenv is installed in /srv/venv/ now --- patch-dependencies.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/patch-dependencies.sh b/patch-dependencies.sh index 5559a9a6..317ddbbc 100755 --- a/patch-dependencies.sh +++ b/patch-dependencies.sh @@ -1,7 +1,7 @@ #!/bin/bash echo "Patching trans_real.py" >&2 -patch ~vagrant/venv/lib/python2.7/site-packages/django/utils/translation/trans_real.py <<END +patch /srv/venv/lib/python2.7/site-packages/django/utils/translation/trans_real.py <<END --- aaa/trans_real.py 2019-02-20 09:46:40.973999000 -0500 +++ bbb/trans_real.py 2019-02-20 09:50:24.480000000 -0500 @@ -143,7 +143,7 @@ @@ -16,7 +16,7 @@ patch ~vagrant/venv/lib/python2.7/site-packages/django/utils/translation/trans_r END echo "Patching widgets.py" >&2 -patch ~vagrant/venv/lib/python2.7/site-packages/tinymce/widgets.py <<END +patch /srv/venv/lib/python2.7/site-packages/tinymce/widgets.py <<END --- aaa/widgets.py 2018-11-12 16:46:37.006000000 -0500 +++ bbb/widgets.py 2018-11-12 16:46:58.576000000 -0500 @@ -13,7 +13,11 @@ @@ -34,3 +34,5 @@ patch ~vagrant/venv/lib/python2.7/site-packages/tinymce/widgets.py <<END from django.utils.safestring import mark_safe END +echo "Finished patching." + -- GitLab