-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* [fontconfig] Do not create symlinks (#23735) * [fontconfig] Add a license identifier * Regenerate versions file
- Loading branch information
1 parent
933d718
commit a76eb00
Showing
5 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- a/conf.d/link_confs.py 2022-03-24 04:13:59.000982000 +0900 | ||
+++ b/conf.d/link_confs.py 2022-03-24 04:14:46.271964000 +0900 | ||
@@ -4,6 +4,7 @@ | ||
import sys | ||
import argparse | ||
import platform | ||
+import shutil | ||
|
||
if __name__=='__main__': | ||
parser = argparse.ArgumentParser() | ||
@@ -32,7 +33,7 @@ | ||
except FileNotFoundError: | ||
pass | ||
try: | ||
- os.symlink(src, dst) | ||
+ shutil.copyfile(src, dst) | ||
except NotImplementedError: | ||
# Not supported on this version of Windows | ||
break |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters