Last change
on this file since 1585 was
1585,
checked in by broder, 16 years ago
|
Kill some superfluous whitespace in invirt-ood-build
|
-
Property svn:executable set to
*
|
File size:
442 bytes
|
Rev | Line | |
---|
[1584] | 1 | #!/bin/bash |
---|
| 2 | |
---|
| 3 | packages="$(invirt-ood-packages)" |
---|
| 4 | |
---|
| 5 | if [ ${#packages} -eq 0 ]; then |
---|
| 6 | echo "No packages to build." |
---|
| 7 | exit 0 |
---|
| 8 | fi |
---|
| 9 | |
---|
| 10 | echo "The following NEW packages will be built:" |
---|
| 11 | echo $packages | fmt | sed 's/^/ /' |
---|
[1585] | 12 | echo -n "Do you want to continue? [Y/n] " |
---|
[1584] | 13 | |
---|
| 14 | read answer |
---|
| 15 | if [ "${answer:0:1}" = "n" -o "${answer:0:1}" = "N" ]; then |
---|
| 16 | echo "Abort." |
---|
| 17 | exit 0 |
---|
| 18 | fi |
---|
| 19 | |
---|
| 20 | IFS="$(echo)" |
---|
| 21 | for package in $packages; do |
---|
| 22 | invirt-build-release "$package" |
---|
| 23 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.