patch-make_install_bin 661 B

1234567891011121314151617181920
  1. $OpenBSD: patch-make_install_bin,v 1.1 2015/06/25 13:16:08 jasper Exp $
  2. Create versioned symlinks in ${PREFIX}/bin/
  3. --- make/install_bin.orig Wed Jun 24 22:32:07 2015
  4. +++ make/install_bin Thu Jun 25 09:10:50 2015
  5. @@ -690,9 +690,9 @@ done
  6. # do it
  7. for file in "$@"; do
  8. - echo $ln_s "$DQ$src_dir/$file$DQ" "$file"
  9. - $dbg $ln_s "$src_dir/$file" "$file" || {
  10. - test "$tst" = "" || echo "{error,{$type,\"$file\",failed}}." > $tst
  11. + echo $ln_s "$DQ$src_dir/$file$DQ" "${file}${MAJ_V}"
  12. + $dbg $ln_s "$src_dir/$file" "${file}${MAJ_V}" || {
  13. + test "$tst" = "" || echo "{error,{$type,\"$file${MAJ_V}\",failed}}." > $tst
  14. exit 1
  15. }
  16. done