incubator-accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r1295933 - in /incubator/accumulo/branches/1.4/src/packages/deb: accumulo-native/postinst accumulo/postinst
Date Thu, 01 Mar 2012 22:01:40 GMT
Author: vines
Date: Thu Mar  1 22:01:40 2012
New Revision: 1295933

URL: http://svn.apache.org/viewvc?rev=1295933&view=rev
Log:
Fixed some minor scripting typos for ACCUMULO-435



Modified:
    incubator/accumulo/branches/1.4/src/packages/deb/accumulo-native/postinst
    incubator/accumulo/branches/1.4/src/packages/deb/accumulo/postinst

Modified: incubator/accumulo/branches/1.4/src/packages/deb/accumulo-native/postinst
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.4/src/packages/deb/accumulo-native/postinst?rev=1295933&r1=1295932&r2=1295933&view=diff
==============================================================================
--- incubator/accumulo/branches/1.4/src/packages/deb/accumulo-native/postinst (original)
+++ incubator/accumulo/branches/1.4/src/packages/deb/accumulo-native/postinst Thu Mar  1 22:01:40
2012
@@ -17,9 +17,9 @@
 
 # postinst script for Apache Accumulo native libraries
 if [ -z $JAVA_HOME ]; then
-  JAVA_HOME=`!readlink -f /usr/bin/java`
+  JAVA_HOME=`readlink -f /usr/bin/java`
   JAVA_HOME=`dirname $JAVA_HOME`
-  JAVA_HOME=`ci $JAVA_HOME/../../; pwd`
+  JAVA_HOME=`cd $JAVA_HOME/../../; pwd`
 fi
 export JAVA_HOME
 cd /usr/lib/accumulo/src/server/src/main/c++

Modified: incubator/accumulo/branches/1.4/src/packages/deb/accumulo/postinst
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.4/src/packages/deb/accumulo/postinst?rev=1295933&r1=1295932&r2=1295933&view=diff
==============================================================================
--- incubator/accumulo/branches/1.4/src/packages/deb/accumulo/postinst (original)
+++ incubator/accumulo/branches/1.4/src/packages/deb/accumulo/postinst Thu Mar  1 22:01:40
2012
@@ -27,9 +27,9 @@ ln -fs /var/log/accumulo/logs /usr/lib/a
 ln -fs /var/log/accumulo/walogs /usr/lib/accumulo/walogs 
 
 if [ -z $JAVA_HOME ]; then
-  JAVA_HOME=`!readlink -f /usr/bin/java`
+  JAVA_HOME=`readlink -f /usr/bin/java`
   JAVA_HOME=`dirname $JAVA_HOME`
-  JAVA_HOME=`ci $JAVA_HOME/../../; pwd`
+  JAVA_HOME=`cd $JAVA_HOME/../../; pwd`
 fi
 if [ -z $ZOOKEEPER_HOME ]; then
   ZOOKEEPER_HOME="/usr/lib/zookeeper"



Mime
View raw message