anchor.diff:              % When mklink fails it prints the error message to stderr which
               % is not picked up by os:cmd() hence this case switch is for
               % an empty message
  -            {error, make_junction_failed}
  +            cp_r(Source, Target)
       end.
   
   %% @doc Returns the color intensity, we first check the application envorinment
  
positive.code:             ok;
          {error, eexist} ->
              {error, eexist};
          {error, eperm} = Error ->
              % We get eperm on Windows if we do not have 
              %   SeCreateSymbolicLinkPrivilege
              % Try the next alternative
              case os:type() of
                  {win32, _} ->
                      win32_make_junction_or_copy(Source, Target);
                  _ ->
                      Error
              end;
          {error, _} = Error ->
              Error
      end.
  
  win32_make_junction_or_copy(Source, Target) ->
      case filelib:is_dir(Source) of
          true ->
              win32_make_junction(Source, Target);
          _ ->
              ec_file:copy(Source, Target)
      end.
  
  win32_make_junction(Source, Target) ->
  
negative.code:                 {error, Reason} ->
                      {error, {readlink, Reason}}
              end;
          {ok, #file_info{type = _Type}} ->
              % Directory already exists, so we overwrite the copy
              cp_r(Source, Target);
          Error ->
              Error
      end.
  