diff options
-rw-r--r-- | src/php.eselect.in.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/php.eselect.in.in b/src/php.eselect.in.in index 8e25f96..889f541 100644 --- a/src/php.eselect.in.in +++ b/src/php.eselect.in.in @@ -457,7 +457,8 @@ set_sapi() { for link_name in $(sapi_active_link_names "${sapi}"); do local link_target=$(sapi_link_name_target "${sapi}" "${target_name}" "${link_name}") - @LN_S@ --force "${link_tgt_dir}/${link_target}" \ + # Use the short "-f" option for POSIX compatibility. + @LN_S@ -f "${link_tgt_dir}/${link_target}" \ "${link_dir}/${link_name}" || \ die -q "failed to create active ${link_name} symlink" done |