Quote $PORTDIR. Thanks to Chris Kerr in bug #52208.
authorZac Medico <zmedico@gentoo.org>
Sat, 8 Dec 2007 19:23:12 +0000 (19:23 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 8 Dec 2007 19:23:12 +0000 (19:23 -0000)
svn path=/main/branches/2.1.2/; revision=8873

bin/emerge-webrsync

index 1e5f60ba1183a554164be6e4c3e83bbbd77cfb18..2349963e482b58b97d3b7c81e8f3cdc52fa2c32a 100755 (executable)
@@ -72,7 +72,7 @@ sync_local() {
                cd portage
                rsync -av --progress --stats --delete --delete-after \
                --exclude='/distfiles' --exclude='/packages' \
-               --exclude='/local' ${PORTAGE_RSYNC_EXTRA_OPTS} . ${PORTDIR%%/}
+               --exclude='/local' ${PORTAGE_RSYNC_EXTRA_OPTS} . "${PORTDIR%%/}"
                cd ..
                echo "cleaning up"
                rm -rf portage