mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-17 14:04:52 +02:00
Move another function into bootstrap-utils.sh
This commit is contained in:
@@ -6,6 +6,16 @@
|
||||
# Distributed under terms of the MIT license.
|
||||
#
|
||||
|
||||
mv_files_and_dirs() {
|
||||
cwd="$PWD"
|
||||
cd "$1"
|
||||
command find . -type d -exec mkdir -p "$2/{}" ";"
|
||||
command find . -type l -exec sh -c "tgt=\$(command readlink -n \"{}\"); command ln -snf \"\$tgt\" \"$2/{}\"; command rm -f \"{}\"" ";"
|
||||
command find . -type f -exec mv "{}" "$2/{}" ";"
|
||||
cd "$cwd"
|
||||
}
|
||||
|
||||
|
||||
compile_terminfo() {
|
||||
tname=".terminfo"
|
||||
# Ensure the 78 dir is present
|
||||
|
||||
Reference in New Issue
Block a user