5 if [ "$V" = "nightly" ]; then
7 echo "Adding current nightly build..."
9 wget
-O nagvis-
$VERSION.
tar.gz http
://www.nagvis.org
/share
/nagvis-
$VERSION.
tar.gz
11 VERSION
=$
(wget
-O - http
://www.nagvis.org
/${V}_release.php
2>/dev
/null
)
12 [ -z "$VERSION" ] && echo "ERROR: Got no version." && exit 1
13 git
rm nagvis-
*.
tar.gz
14 echo "Adding current VERSION ($VERSION)..."
15 wget
-O nagvis-
${VERSION}.
tar.gz http
://nagvis.org
/share
/nagvis-
${VERSION}.
tar.gz
18 git add nagvis-
$VERSION.
tar.gz
19 sed -i "s/^VERSION = .*$/VERSION = $VERSION/g" Makefile