fabtests/0001-adjust-shebang-lines-in-rft_yaml_to_junit_xml-and-ru.patch
Honggang Li 67a6069c28 Rebase to upstream release v1.7.0
Resolves: bz1671197

Signed-off-by: Honggang Li <honli@redhat.com>
2019-01-31 14:32:44 +08:00

40 lines
1.1 KiB
Diff

From 7b682088080f5f51ae53313dedfd81f4bc670fb3 Mon Sep 17 00:00:00 2001
From: Honggang Li <honli@redhat.com>
Date: Thu, 31 Jan 2019 14:15:20 +0800
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.
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: Honggang Li <honli@redhat.com>
---
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 813fa53..d084702 100755
--- a/scripts/runfabtests.sh
+++ b/scripts/runfabtests.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/bash
#
# Copyright (c) 2017-2018, Intel Corporation. All rights reserved.
--
2.20.1