summaryrefslogtreecommitdiff
path: root/allow_protocol_file.patch
diff options
context:
space:
mode:
Diffstat (limited to 'allow_protocol_file.patch')
-rw-r--r--allow_protocol_file.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/allow_protocol_file.patch b/allow_protocol_file.patch
new file mode 100644
index 0000000..d83f1d3
--- /dev/null
+++ b/allow_protocol_file.patch
@@ -0,0 +1,12 @@
+diff -ur rpkg-util-macros-orig/tests/run rpkg-util-macros/tests/run
+--- rpkg-util-macros-orig/tests/run 2023-05-30 08:51:11.465641122 +0000
++++ rpkg-util-macros/tests/run 2023-05-30 08:51:11.465641122 +0000
+@@ -1,6 +1,8 @@
+ #!/bin/bash
+
+ export testdir="$(builtin cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
++# workaround for git secure patch which may fail the tests
++git config protocol.file.allow always
+
+ for dir in `ls -d "$testdir"/test_*/`; do
+ echo "====================== $(basename ${dir}) ======================"