diff options
author | Khem Raj <raj.khem@gmail.com> | 2008-12-03 11:10:19 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2008-12-03 11:10:19 -0800 |
commit | 846d89a9426c72f2fd6cd9902bef77ad913b028e (patch) | |
tree | 2f8884d80715e7df9ec4a1ef1cb9af19164d9ef0 /contrib | |
parent | 7ddac101f96f89fc2ff1aebc742821c062bede0d (diff) | |
parent | d0f918a9c252614185b71ef21e449a2e87b2d9a3 (diff) |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/angstrom/upload-packages.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/angstrom/upload-packages.sh b/contrib/angstrom/upload-packages.sh index d6a3884f5b..4d3362b6d2 100644 --- a/contrib/angstrom/upload-packages.sh +++ b/contrib/angstrom/upload-packages.sh @@ -17,13 +17,13 @@ mkdir -p upload-queue || true echo "Deleting morgue directories" find ipk/ -name "morgue" -exec rm -rf \{\} \; -# Copy all packages to an upload queue -echo "Copying packages to upload queue" -find ipk/ -name "*.ipk" -exec cp \{\} upload-queue/ \; +# Copy symlink packages to an upload queue +echo "Symlink packages to upload queue" +find ipk/ -name "*.ipk" -exec ln -sf ${PWD}/\{\} upload-queue/ \; # Find file already present on webserver echo "Getting file list from server" -scp $REMOTEM:$REMOTED/unsorted/files-sorted files-remote +scp -C $REMOTEM:$REMOTED/unsorted/files-sorted files-remote ls upload-queue/ | grep -v morgue > files-local # Check for files already present on webserver @@ -33,7 +33,7 @@ cat files-uniq files-local | sort | uniq -d > files-trans # Copy over non-duplicate files echo "Starting rsync..." -rsync -avz --progress --files-from=files-trans upload-queue/ $REMOTEM:$REMOTED/unsorted/ +rsync -vz --copy-links --progress --files-from=files-trans upload-queue/ $REMOTEM:$REMOTED/unsorted/ # Clean up temporary files echo "Removing upload queue" |