mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 08:26:56 +00:00
Slightly improve rsync script
This commit is contained in:
parent
cca838b952
commit
d6225153ee
1 changed files with 2 additions and 1 deletions
|
|
@ -4,11 +4,12 @@
|
|||
: <<'COMMENT'
|
||||
export RSYNC_PASSWORD=password
|
||||
export BUILDBOT=rsync://useranme@server/path/to/this/directory
|
||||
mkdir -p ~/kitty-src
|
||||
cd ~/kitty-src || exit 1
|
||||
|
||||
script=rsync-and-build.sh
|
||||
if [[ -e "$script" ]]; then
|
||||
source "$script"
|
||||
. "./$script"
|
||||
else
|
||||
rsync -a --include "$script" --exclude '*' "$BUILDBOT" . && source "$script"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue