1. Matthew Schinckel
  2. silverlining

Commits

Ian Bicking  committed 0007e20

Use --copy-unsafe-links instead of --safe-links with rsync, so you can symlink to external files

  • Participants
  • Parent commits 4e865ce
  • Branches trunk

Comments (0)

Files changed (1)

File silversupport/appconfig.py

View file
             app_dir += '/'
         cmd = ['rsync',
                '--recursive',
-               '--links',          # Copy over symlinks as symlinks
-               '--safe-links',     # Don't copy over links that are outside of dir
-               '--executability',  # Copy +x modes
-               '--times',          # Copy timestamp
-               '--rsh=ssh',        # Use ssh
-               '--delete',         # Delete files thta aren't in the source dir
+               '--links',              # Copy over symlinks as symlinks
+               '--copy-unsafe-links',  # Copy symlinks that are outside of dir as real files
+               '--executability',      # Copy +x modes
+               '--times',              # Copy timestamp
+               '--rsh=ssh',            # Use ssh
+               '--delete',             # Delete files thta aren't in the source dir
                '--compress',
                #'--skip-compress=.zip,.egg', # Skip some already-compressed files
                '--exclude-from=%s' % exclude_from,
-               '--progress',       # I don't think this does anything given --quiet
+               '--progress',           # I don't think this does anything given --quiet
                '--quiet',
                app_dir,
                os.path.join('%s:%s' % (host, dest_dir)),