Unset the safe source function in sh script and minor refactoring

This commit is contained in:
pagedown
2022-03-11 15:41:56 +08:00
parent 44992452cf
commit f5cc58ea9d
2 changed files with 19 additions and 18 deletions

View File

@@ -124,7 +124,7 @@ def compile_terminfo(base):
q = os.path.join(base, tname, '78', 'xterm-kitty')
if not os.path.exists(q):
os.makedirs(os.path.dirname(q), exist_ok=True)
os.symlink("../x/xterm-kitty", q)
os.symlink('../x/xterm-kitty', q)
def get_data():