Changes in tools/build/push2dist.sh [6716d78:7c6b262]
- File:
-
- 1 edited
-
tools/build/push2dist.sh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tools/build/push2dist.sh
r6716d78 r7c6b262 2 2 3 3 hash="$1" 4 bwlim="$2" 4 5 valid=$(distcc -j 2> /dev/null) 5 6 # if test "${valid}" != 0 … … 19 20 # echo "Copying to machines : ${hosts} (hash=${hash})" 20 21 21 files="../../../driver/cfa ../../../driver/cfa-cpp ../../../driver/cc1 ../../../driver/as $(find . -name '*.c*' | tr '\n' ' ')"22 files="../../../driver/cfa ../../../driver/cfa-cpp ../../../driver/cc1 ../../../driver/as defines.hfa $(find . -name '*.c*' | tr '\n' ' ')" 22 23 # echo "Files ${files}" 23 24 24 25 function push() { 25 26 ssh ${host} "mkdir -p ~/.cfadistcc/${hash}/" 26 rsync - a ${dV} ${files} ${host}:~/.cfadistcc/${hash}/.27 rsync --bwlimit=${bwlim} -a ${dV} ${files} ${host}:~/.cfadistcc/${hash}/. 27 28 } 28 29
Note:
See TracChangeset
for help on using the changeset viewer.