#!/bin/bash VERSION="10.0.3" echo "Building for $VERSION" # Split html file into sections ../Programs/so_split -s AutoInstall-$VERSION.html HTML cp *.png HTML/ # Create new html file with TOC fixed ../Programs/so_split -t AutoInstall-$VERSION.html HTML mv -f HTML/new.AutoInstall-$VERSION.html AutoInstall-$VERSION.html echo "After editing the .spec file for the current version," echo "run the following: (change 10.0.0 to appropriate value)" echo "" echo " ./make_RPM" echo ""