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