fabtests/SOURCES/0001-adjust-shebang-lines-i...

37 lines
1.0 KiB
Diff
Raw Normal View History

2019-05-07 06:28:28 +00:00
From c97eca499945232f0e6d40b254e64b168261931e Mon Sep 17 00:00:00 2001
From: Michal Schmidt <mschmidt@redhat.com>
Date: Tue, 19 Apr 2016 13:29:43 +0200
Subject: [PATCH] adjust shebang lines in rft_yaml_to_junit_xml and
runfabtests.sh
Do not use /usr/bin/env. Call the appropriate binary directly.
This way rpmbuild will record the right dependencies.
---
scripts/rft_yaml_to_junit_xml | 2 +-
scripts/runfabtests.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/rft_yaml_to_junit_xml b/scripts/rft_yaml_to_junit_xml
index feb6463..2d3b3a3 100755
--- a/scripts/rft_yaml_to_junit_xml
+++ b/scripts/rft_yaml_to_junit_xml
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#!/usr/bin/ruby
# Copyright (c) 2015 Cisco Systems, Inc. All rights reserved.
#
diff --git a/scripts/runfabtests.sh b/scripts/runfabtests.sh
index decb11a..8cc02f5 100755
--- a/scripts/runfabtests.sh
+++ b/scripts/runfabtests.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/bash
#
# Copyright (c) 2017, Intel Corporation. All rights reserved.
--
2.17.0