diff options
author | Simon Rettberg | 2014-01-03 16:02:02 +0100 |
---|---|---|
committer | Simon Rettberg | 2014-01-03 16:02:02 +0100 |
commit | 215af57497faaef0c7f154ea7c8376837f17b186 (patch) | |
tree | 0404b736ecc368999606c8f74bf2f3d4d3873f5e /server/export_target | |
parent | [kdm] Move bwlehrpool theme to its own module, kdm-theme-bwlp, (diff) | |
download | tm-scripts-215af57497faaef0c7f154ea7c8376837f17b186.tar.gz tm-scripts-215af57497faaef0c7f154ea7c8376837f17b186.tar.xz tm-scripts-215af57497faaef0c7f154ea7c8376837f17b186.zip |
Put module md5 files in target's build dir so we don't mess up when several targets contain the same modules
Diffstat (limited to 'server/export_target')
-rwxr-xr-x | server/export_target | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/export_target b/server/export_target index c5fae7f4..270e6fcf 100755 --- a/server/export_target +++ b/server/export_target @@ -50,7 +50,7 @@ sync_remote() { #TODO setup link to remote build directory, later this directory will be rsynced or exported to this server... mkdir -p "${SERVER_BUILD_DIR}" || perror "Could not create directory for local copy of remote system ($SERVER_BUILD_DIR)" - rsync -a --numeric-ids --delete -v -e "ssh -c arcfour -oStrictHostKeyChecking=no" "root@$REMOTE_IP:/export/build/*" "$SERVER_BUILD_DIR" + rsync -a --numeric-ids --exclude '/opt/openslx/.mltk' --delete --delete-excluded -v -e "ssh -c arcfour -oStrictHostKeyChecking=no" "root@$REMOTE_IP:/export/build/*" "$SERVER_BUILD_DIR" local RET=$? if [ $RET -eq 0 ]; then pinfo "Syncing completed." |