File 0002-fix-shebangs.patch of Package rubygem-passenger

From 06910e90a5bfc182acf4827da6b7f33561986b13 Mon Sep 17 00:00:00 2001
From: Manuel Schnitzer <webmaster@mschnitzer.de>
Date: Sat, 7 Apr 2018 03:46:44 +0200
Subject: [PATCH] Fix shebangs for SUSE packaging

---
 bin/passenger                                                           | 2 +-
 bin/passenger-config                                                    | 2 +-
 bin/passenger-install-apache2-module                                    | 2 +-
 bin/passenger-install-nginx-module                                      | 2 +-
 bin/passenger-memory-stats                                              | 2 +-
 bin/passenger-status                                                    | 2 +-
 src/cxx_supportlib/vendor-copy/libuv/gyp_uv.py                          | 2 +-
 src/helper-scripts/backtrace-sanitizer.rb                               | 2 +-
 src/helper-scripts/crash-watch.rb                                       | 2 +-
 src/helper-scripts/meteor-loader.rb                                     | 2 +-
 src/helper-scripts/prespawn                                             | 2 +-
 .../winston/node_modules/async/support/sync-package-managers.js         | 2 +-
 24 files changed, 24 insertions(+), 24 deletions(-)

Index: passenger-6.0.26/bin/passenger
===================================================================
--- passenger-6.0.26.orig/bin/passenger
+++ passenger-6.0.26/bin/passenger
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#!/usr/bin/ruby
 #  Phusion Passenger - https://www.phusionpassenger.com/
 #  Copyright (c) 2010-2025 Asynchronous B.V.
 #
Index: passenger-6.0.26/bin/passenger-config
===================================================================
--- passenger-6.0.26.orig/bin/passenger-config
+++ passenger-6.0.26/bin/passenger-config
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#!/usr/bin/ruby
 #  Phusion Passenger - https://www.phusionpassenger.com/
 #  Copyright (c) 2010-2025 Asynchronous B.V.
 #
Index: passenger-6.0.26/bin/passenger-install-apache2-module
===================================================================
--- passenger-6.0.26.orig/bin/passenger-install-apache2-module
+++ passenger-6.0.26/bin/passenger-install-apache2-module
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#!/usr/bin/ruby
 # encoding: binary
 #  Phusion Passenger - https://www.phusionpassenger.com/
 #  Copyright (c) 2010-2025 Asynchronous B.V.
Index: passenger-6.0.26/bin/passenger-install-nginx-module
===================================================================
--- passenger-6.0.26.orig/bin/passenger-install-nginx-module
+++ passenger-6.0.26/bin/passenger-install-nginx-module
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#!/usr/bin/ruby
 #  Phusion Passenger - https://www.phusionpassenger.com/
 #  Copyright (c) 2010-2025 Asynchronous B.V.
 #
Index: passenger-6.0.26/bin/passenger-memory-stats
===================================================================
--- passenger-6.0.26.orig/bin/passenger-memory-stats
+++ passenger-6.0.26/bin/passenger-memory-stats
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#!/usr/bin/ruby
 #  Phusion Passenger - https://www.phusionpassenger.com/
 #  Copyright (c) 2010-2025 Asynchronous B.V.
 #
Index: passenger-6.0.26/bin/passenger-status
===================================================================
--- passenger-6.0.26.orig/bin/passenger-status
+++ passenger-6.0.26/bin/passenger-status
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#!/usr/bin/ruby
 #  Phusion Passenger - https://www.phusionpassenger.com/
 #  Copyright (c) 2010-2025 Asynchronous B.V.
 #
Index: passenger-6.0.26/src/cxx_supportlib/vendor-copy/libuv/gyp_uv.py
===================================================================
--- passenger-6.0.26.orig/src/cxx_supportlib/vendor-copy/libuv/gyp_uv.py
+++ passenger-6.0.26/src/cxx_supportlib/vendor-copy/libuv/gyp_uv.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
 
 import os
 import platform
Index: passenger-6.0.26/src/helper-scripts/backtrace-sanitizer.rb
===================================================================
--- passenger-6.0.26.orig/src/helper-scripts/backtrace-sanitizer.rb
+++ passenger-6.0.26/src/helper-scripts/backtrace-sanitizer.rb
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#!/usr/bin/ruby
 #  Phusion Passenger - https://www.phusionpassenger.com/
 #  Copyright (c) 2013-2025 Asynchronous B.V.
 #
Index: passenger-6.0.26/src/helper-scripts/crash-watch.rb
===================================================================
--- passenger-6.0.26.orig/src/helper-scripts/crash-watch.rb
+++ passenger-6.0.26/src/helper-scripts/crash-watch.rb
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#!/usr/bin/ruby
 # Copyright (c) 2015-2025 Asynchronous B.V.
 #
 # Permission is hereby granted, free of charge, to any person obtaining
Index: passenger-6.0.26/src/helper-scripts/meteor-loader.rb
===================================================================
--- passenger-6.0.26.orig/src/helper-scripts/meteor-loader.rb
+++ passenger-6.0.26/src/helper-scripts/meteor-loader.rb
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#!/usr/bin/ruby
 # encoding: binary
 #  Phusion Passenger - https://www.phusionpassenger.com/
 #  Copyright (c) 2010-2025 Asynchronous B.V.
Index: passenger-6.0.26/src/helper-scripts/prespawn
===================================================================
--- passenger-6.0.26.orig/src/helper-scripts/prespawn
+++ passenger-6.0.26/src/helper-scripts/prespawn
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#!/usr/bin/ruby
 #  Phusion Passenger - https://www.phusionpassenger.com/
 #  Copyright (c) 2010-2025 Asynchronous B.V.
 #
Index: passenger-6.0.26/src/nodejs_supportlib/vendor-copy/winston/node_modules/async/support/sync-package-managers.js
===================================================================
--- passenger-6.0.26.orig/src/nodejs_supportlib/vendor-copy/winston/node_modules/async/support/sync-package-managers.js
+++ passenger-6.0.26/src/nodejs_supportlib/vendor-copy/winston/node_modules/async/support/sync-package-managers.js
@@ -1,4 +1,4 @@
-#!/usr/bin/env node
+#!/usr/bin/node
 
 // This should probably be its own module but complaints about bower/etc.
 // support keep coming up and I'd rather just enable the workflow here for now
openSUSE Build Service is sponsored by