mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-05-24 02:02:32 -04:00
Slightly improve rsync script
This commit is contained in:
parent
d7d048acd5
commit
52accf284a
@ -4,11 +4,12 @@
|
||||
: <<'COMMENT'
|
||||
export RSYNC_PASSWORD=password
|
||||
export BUILDBOT=rsync://username@server/path/to/this/directory
|
||||
mkdir -p ~/calibre-src
|
||||
cd ~/calibre-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…
x
Reference in New Issue
Block a user