summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/PRE_BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/PRE_BUILD')
-rwxr-xr-xcrypto/openssh/PRE_BUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/openssh/PRE_BUILD b/crypto/openssh/PRE_BUILD
new file mode 100755
index 0000000000..e1b6829e12
--- /dev/null
+++ b/crypto/openssh/PRE_BUILD
@@ -0,0 +1,7 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+if [[ $SFTP_FILECONTROL == y ]]; then
+ unpack_file 3 &&
+ patch -p1 < "$SOURCE_CACHE/$SOURCE3"
+fi