# File lib/rake.rb, line 1037 1037: def safe_ln(*args) 1038: unless LN_SUPPORTED[0] 1039: cp(*args) 1040: else 1041: begin 1042: ln(*args) 1043: rescue StandardError, NotImplementedError => ex 1044: LN_SUPPORTED[0] = false 1045: cp(*args) 1046: end 1047: end 1048: end