diff options
author | Jirka Hladky <jhladky@redhat.com> | 2021-09-30 02:50:29 +0200 |
---|---|---|
committer | Jirka Hladky <jhladky@redhat.com> | 2021-09-30 02:50:29 +0200 |
commit | 8721fcfd385b95a0fdc0c380581b190ae0425a85 (patch) | |
tree | 22153b056c2ecf622921fbf9c32cec24bafbe094 /config | |
parent | Removed old init.d files. The up-to-date configs are under contrib directory (diff) | |
download | haveged-8721fcfd385b95a0fdc0c380581b190ae0425a85.tar.xz haveged-8721fcfd385b95a0fdc0c380581b190ae0425a85.zip |
Removed init.d
Diffstat (limited to 'config')
-rwxr-xr-x | config/compile | 6 | ||||
-rwxr-xr-x | config/install-sh | 13 | ||||
-rwxr-xr-x | config/missing | 2 |
3 files changed, 16 insertions, 5 deletions
diff --git a/config/compile b/config/compile index 99e5052..23fcba0 100755 --- a/config/compile +++ b/config/compile @@ -3,7 +3,7 @@ scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1999-2018 Free Software Foundation, Inc. +# Copyright (C) 1999-2020 Free Software Foundation, Inc. # Written by Tom Tromey <tromey@cygnus.com>. # # This program is free software; you can redistribute it and/or modify @@ -53,7 +53,7 @@ func_file_conv () MINGW*) file_conv=mingw ;; - CYGWIN*) + CYGWIN* | MSYS*) file_conv=cygwin ;; *) @@ -67,7 +67,7 @@ func_file_conv () mingw/*) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; - cygwin/*) + cygwin/* | msys/*) file=`cygpath -m "$file" || echo "$file"` ;; wine/*) diff --git a/config/install-sh b/config/install-sh index 8175c64..20d8b2e 100755 --- a/config/install-sh +++ b/config/install-sh @@ -451,7 +451,18 @@ do trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. - (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && + (umask $cp_umask && + { test -z "$stripcmd" || { + # Create $dsttmp read-write so that cp doesn't create it read-only, + # which would cause strip to fail. + if test -z "$doit"; then + : >"$dsttmp" # No need to fork-exec 'touch'. + else + $doit touch "$dsttmp" + fi + } + } && + $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # diff --git a/config/missing b/config/missing index 625aeb1..8d0eaad 100755 --- a/config/missing +++ b/config/missing @@ -3,7 +3,7 @@ scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1996-2018 Free Software Foundation, Inc. +# Copyright (C) 1996-2020 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribute it and/or modify |