Skip to content

Commit

Permalink
Minor documentation edits
Browse files Browse the repository at this point in the history
  • Loading branch information
flexiondotorg committed Feb 21, 2012
1 parent 6c65257 commit c9c91dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Usage
sudo ./oab-java6.sh

Optional parameters
-c : Remove pre-existing packages from '/var/local/oab-java/deb'
-c : Remove pre-existing packages from '/var/local/oab/deb'
-h : This help

How do I download and run this thing?
Expand Down
6 changes: 3 additions & 3 deletions oab-java6.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function usage() {
echo " sudo ${0}"
echo
echo "Optional parameters"
echo " -c : Remove pre-existing packages from '/var/local/oab-java/deb'"
echo " -c : Remove pre-existing packages from '/var/local/oab/deb'"
echo " -h : This help"
echo
echo "How do I download and run this thing?"
Expand Down Expand Up @@ -253,7 +253,7 @@ pid=$!;progress $pid
cd /var/local/oab/src >> "$log" 2>&1
TAG=`git tag -l | tail -n1`

# Check the tagged, stable, version.
# Checkout the tagged, stable, version.
ncecho " [x] Checking out ${TAG} "
git checkout ${TAG} >> "$log" 2>&1 &
pid=$!;progress $pid
Expand All @@ -272,7 +272,7 @@ wget "http://www.oracle.com/technetwork/java/javase/downloads/index.html" -O /tm
pid=$!;progress $pid

# See if the Java version is on the download frontpage, otherwise look for it in
# the previous releases.
# the previous releases page.
DOWNLOAD_INDEX=`grep "/technetwork/java/javase/downloads/jdk-${JAVA_VER}u${JAVA_UPD}" /tmp/oab-index.html | grep "alt=\"Download JDK\"" | cut -d'<' -f3 | cut -d'"' -f2`
if [ -n "${DOWNLOAD_INDEX}" ]; then
ncecho " [x] Getting current release download page "
Expand Down

0 comments on commit c9c91dd

Please sign in to comment.