Changeset 109

Show
Ignore:
Timestamp:
04/09/10 20:52:51 (4 years ago)
Author:
depesz
Message:

readlink is not available on solaris, let's use perl

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/omnipitr/bin/sanity-check.sh

    r70 r109  
    11#!/bin/bash 
    22 
    3 BIN_DIR=$( readlink -f $( dirname $0 )
    4 LIB_DIR=$( readlink -f $( dirname $0 )/../lib
     3BIN_DIR=$( perl -le 'use Cwd qw(realpath); print realpath(shift)' "$( dirname $0 )"
     4LIB_DIR=$( perl -le 'use Cwd qw(realpath); print realpath(shift)' "$( dirname $0 )/../lib"
    55 
    66echo "Checking:"