accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r1294307 - in /incubator/accumulo/branches/1.4/bin: accumulo config.sh
Date Mon, 27 Feb 2012 20:08:39 GMT
Author: vines
Date: Mon Feb 27 20:08:39 2012
New Revision: 1294307

URL: http://svn.apache.org/viewvc?rev=1294307&view=rev
Log:
ACCUMULO-19 - readlink doesn't have a flag for -f on OSX. Hopefully nobody is chaining symlinks.


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=1294307&r1=1294306&r2=1294307&view=diff
==============================================================================
--- incubator/accumulo/branches/1.4/bin/accumulo (original)
+++ incubator/accumulo/branches/1.4/bin/accumulo Mon Feb 27 20:08:39 2012
@@ -16,7 +16,7 @@
 # limitations under the License.
 
 
-bin=`readlink -f "$0"`
+bin=`readlink "$0"`
 bin=`dirname "$bin"`
 bin=`cd "$bin"; pwd`
 

Modified: incubator/accumulo/branches/1.4/bin/config.sh
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.4/bin/config.sh?rev=1294307&r1=1294306&r2=1294307&view=diff
==============================================================================
--- incubator/accumulo/branches/1.4/bin/config.sh (original)
+++ incubator/accumulo/branches/1.4/bin/config.sh Mon Feb 27 20:08:39 2012
@@ -15,7 +15,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-this=`readlink -f "$0"`
+this=`readlink "$0"`
 while [ -h "$this" ]; do
     ls=`ls -ld "$this"`
     link=`expr "$ls" : '.*-> \(.*\)$'`



Mime
View raw message