source: trunk/packages/invirt-dev/invirt-ood-build @ 1589

Last change on this file since 1589 was 1586, checked in by broder, 16 years ago

And...you end your for loops with done, not fi

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