mahout-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gsing...@apache.org
Subject svn commit: r1201093 - /mahout/trunk/examples/bin/build-asf-email.sh
Date Fri, 11 Nov 2011 23:15:29 GMT
Author: gsingers
Date: Fri Nov 11 23:15:29 2011
New Revision: 1201093

URL: http://svn.apache.org/viewvc?rev=1201093&view=rev
Log:
fix a minor path issue

Modified:
    mahout/trunk/examples/bin/build-asf-email.sh

Modified: mahout/trunk/examples/bin/build-asf-email.sh
URL: http://svn.apache.org/viewvc/mahout/trunk/examples/bin/build-asf-email.sh?rev=1201093&r1=1201092&r2=1201093&view=diff
==============================================================================
--- mahout/trunk/examples/bin/build-asf-email.sh (original)
+++ mahout/trunk/examples/bin/build-asf-email.sh Fri Nov 11 23:15:29 2011
@@ -15,6 +15,12 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
+
+SCRIPT_PATH=${0%/*}
+if [ "$0" != "$SCRIPT_PATH" ] && [ "$SCRIPT_PATH" != "" ]; then
+  cd $SCRIPT_PATH
+fi
+START_PATH=`pwd`
 MAHOUT="../../bin/mahout"
 ASF_ARCHIVES=$1
 OUT=$2



Mime
View raw message