incubator-accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r1294682 - in /incubator/accumulo/branches/1.4/bin: accumulo config.sh
Date Tue, 28 Feb 2012 15:05:28 GMT
Author: vines
Date: Tue Feb 28 15:05:28 2012
New Revision: 1294682

URL: http://svn.apache.org/viewvc?rev=1294682&view=rev
Log:
Fixing ACCUMULO-19, I need to find another way to handle symlinks - mea culpa


Modified:
    incubator/accumulo/branches/1.4/bin/accumulo
    incubator/accumulo/branches/1.4/bin/config.sh

Modified: incubator/accumulo/branches/1.4/bin/accumulo
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.4/bin/accumulo?rev=1294682&r1=1294681&r2=1294682&view=diff
==============================================================================
--- incubator/accumulo/branches/1.4/bin/accumulo (original)
+++ incubator/accumulo/branches/1.4/bin/accumulo Tue Feb 28 15:05:28 2012
@@ -16,8 +16,7 @@
 # limitations under the License.
 
 
-bin=`readlink "$0"`
-bin=`dirname "$bin"`
+bin=`dirname "$0"`
 bin=`cd "$bin"; pwd`
 
 . "$bin"/config.sh

Modified: incubator/accumulo/branches/1.4/bin/config.sh
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.4/bin/config.sh?rev=1294682&r1=1294681&r2=1294682&view=diff
==============================================================================
--- incubator/accumulo/branches/1.4/bin/config.sh (original)
+++ incubator/accumulo/branches/1.4/bin/config.sh Tue Feb 28 15:05:28 2012
@@ -15,7 +15,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-this=`readlink "$0"`
+this="$0"
 while [ -h "$this" ]; do
     ls=`ls -ld "$this"`
     link=`expr "$ls" : '.*-> \(.*\)$'`
@@ -58,6 +58,7 @@ then
       exit 1
    fi
    HADOOP_HOME=`dirname $HADOOP_HOME`
+   HADOOP_HOME=`dirname $HADOOP_HOME`
 fi
 export HADOOP_HOME
 



Mime
View raw message