|  | The latest version of anarki's arc.sh does not run on Mac OS X Tiger. The problem is with its version of bash, which does not like the line The readlink command does not take "--canonicalize" as an argument. Here is my proposed solution.  arc_dir=$(dirname $(readlink --canonicalize "$0"))
 Note that it gets rid of the readlink entirely. That's because Tiger's version of readlink prints nothing unless its argument is a link.  if [ `uname` = 'Darwin' ] ; then
      arc_dir=$(dirname "$0")
  else
      arc_dir=$(dirname $(readlink --canonicalize "$0"))
  fi
 Comments? |