fabtests/0001-adjust-shebang-lines-in-rft_yaml_to_junit_xml-and-ru.patch
Honggang Li 372dfa5e18 Rebase to upstream release v1.6.0
Signed-off-by: Honggang Li <honli@redhat.com>
2018-05-09 22:49:06 -04:00

37 lines
1.0 KiB
Diff

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