source:
trunk/debathena/manual-config/do-upload
@
22703
Revision 22703, 215 bytes checked in by ghudson, 17 years ago (diff) | |
---|---|
|
Rev | Line | |
---|---|---|
[22703] | 1 | #!/bin/sh |
2 | set -xe | |
3 | ||
4 | queue=upload-queue | |
5 | while [ -s "$queue" ]; do | |
6 | read -r file <"$queue" | |
7 | daequivsupload "$file" | |
8 | cat "$queue" | (read file; cat) > "$queue.tmp" | |
9 | mv "$queue.tmp" "$queue" | |
10 | done | |
11 | rm "$queue" |
Note: See TracBrowser
for help on using the repository browser.