Skip to content

Commit

Permalink
Fix broken env.sh.
Browse files Browse the repository at this point in the history
  • Loading branch information
lindydonna committed Mar 21, 2011
1 parent 7ca76c9 commit 9cacd4a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions org.scala-ide.build/env.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/sh

GIT_HASH="`git log -1 --pretty=format:"%h"`"
GIT_BRANCH="`git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'`"
# GIT_BRANCH="`git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'`"

echo "git branch and hash:" $GIT_BRANCH $GIT_HASH
echo "git hash:" $GIT_HASH


# MAVEN needs to point to a MAVEN3 installation:
Expand All @@ -24,10 +24,8 @@ fi
build()
{
${MAVEN} \
$PROFILE_NAME \
-U \
$PROFILE_NAME -U \
-Dscala.version=${SCALA_VERSION} \
-Dgit.hash=${GIT_HASH} \
# -Dgit.branch=${GIT_BRANCH} \
clean install $*
}

0 comments on commit 9cacd4a

Please sign in to comment.