configure: Remove unused apply() helper function
authorDiego Biurrun <diego@biurrun.de>
Fri, 20 Oct 2017 22:22:38 +0000 (00:22 +0200)
committerDiego Biurrun <diego@biurrun.de>
Thu, 2 Nov 2017 09:55:47 +0000 (10:55 +0100)
configure

index 4dfe24e..6ff2ae2 100755 (executable)
--- a/configure
+++ b/configure
@@ -1196,12 +1196,6 @@ check_host_cpp_condition(){
 EOF
 }
 
-apply(){
-    file=$1
-    shift
-    "$@" < "$file" > "$file.tmp" && mv "$file.tmp" "$file" || rm "$file.tmp"
-}
-
 cp_if_changed(){
     cmp -s "$1" "$2" && { test "$quiet" != "yes" && echo "$2 is unchanged"; } && return
     mkdir -p "$(dirname $2)"