Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 617668 Details for
Bug 860776
Incorrect interpreter used in rhts-* scripts
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch fixing the problem.
0001-Use-bash-explicitly-for-bash-scripts.patch (text/plain), 3.28 KB, created by
Nikolai Kondrashov
on 2012-09-26 16:57:39 UTC
(
hide
)
Description:
Patch fixing the problem.
Filename:
MIME Type:
Creator:
Nikolai Kondrashov
Created:
2012-09-26 16:57:39 UTC
Size:
3.28 KB
patch
obsolete
>From b0f8d8f3e22c418b915704045d195cff4e35e2a9 Mon Sep 17 00:00:00 2001 >From: Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> >Date: Wed, 26 Sep 2012 19:54:45 +0300 >Subject: [PATCH 1/1] Use bash explicitly for bash scripts > >Specify /bin/bash instead of /bin/sh as the interpreter in bash scripts' >shebang lines. >--- > bin/rhts-backup | 2 +- > bin/rhts-environment.sh | 2 +- > bin/rhts-mk-build-package | 2 +- > bin/rhts-mk-get-current-tag | 2 +- > bin/rhts-mk-get-test-package-name | 2 +- > bin/rhts-system-info | 2 +- > bin/rhts-test-runner.sh | 2 +- > 7 files changed, 7 insertions(+), 7 deletions(-) > >diff --git a/bin/rhts-backup b/bin/rhts-backup >index a69953f..4931178 100755 >--- a/bin/rhts-backup >+++ b/bin/rhts-backup >@@ -1,4 +1,4 @@ >-#!/bin/sh >+#!/bin/bash > PATH=/sbin:/usr/sbin:$PATH > selinuxenabled >/dev/null 2>/dev/null && SELINUX=true || SELINUX=false > #[ -d "/selinux" ] && SELINUX=true || SELINUX=false >diff --git a/bin/rhts-environment.sh b/bin/rhts-environment.sh >index 1b1db0c..3c05a3d 100644 >--- a/bin/rhts-environment.sh >+++ b/bin/rhts-environment.sh >@@ -1,4 +1,4 @@ >-#!/bin/sh >+#!/bin/bash > # Copyright (c) 2006 Red Hat, Inc. All rights reserved. This copyrighted material > # is made available to anyone wishing to use, modify, copy, or > # redistribute it subject to the terms and conditions of the GNU General >diff --git a/bin/rhts-mk-build-package b/bin/rhts-mk-build-package >index 796f363..a5b3c6c 100755 >--- a/bin/rhts-mk-build-package >+++ b/bin/rhts-mk-build-package >@@ -1,4 +1,4 @@ >-#!/bin/sh >+#!/bin/bash > # Copyright (c) 2006 Red Hat, Inc. All rights reserved. This copyrighted material > # is made available to anyone wishing to use, modify, copy, or > # redistribute it subject to the terms and conditions of the GNU General >diff --git a/bin/rhts-mk-get-current-tag b/bin/rhts-mk-get-current-tag >index 769670a..2820caf 100755 >--- a/bin/rhts-mk-get-current-tag >+++ b/bin/rhts-mk-get-current-tag >@@ -1,4 +1,4 @@ >-#!/bin/sh >+#!/bin/bash > # Copyright (c) 2006 Red Hat, Inc. All rights reserved. This copyrighted material > # is made available to anyone wishing to use, modify, copy, or > # redistribute it subject to the terms and conditions of the GNU General >diff --git a/bin/rhts-mk-get-test-package-name b/bin/rhts-mk-get-test-package-name >index dd3bab6..a8320fb 100755 >--- a/bin/rhts-mk-get-test-package-name >+++ b/bin/rhts-mk-get-test-package-name >@@ -1,4 +1,4 @@ >-#!/bin/sh >+#!/bin/bash > # Copyright (c) 2006 Red Hat, Inc. All rights reserved. This copyrighted material > # is made available to anyone wishing to use, modify, copy, or > # redistribute it subject to the terms and conditions of the GNU General >diff --git a/bin/rhts-system-info b/bin/rhts-system-info >index 23d07ac..e1a939f 100755 >--- a/bin/rhts-system-info >+++ b/bin/rhts-system-info >@@ -1,4 +1,4 @@ >-#!/bin/sh >+#!/bin/bash > PATH=/sbin:/usr/sbin:$PATH > > SLABLOG=$(mktemp -p /mnt/testarea -t Slab.XXXXXX) >diff --git a/bin/rhts-test-runner.sh b/bin/rhts-test-runner.sh >index 7d7cf30..3714f05 100755 >--- a/bin/rhts-test-runner.sh >+++ b/bin/rhts-test-runner.sh >@@ -1,4 +1,4 @@ >-#!/bin/sh >+#!/bin/bash > export PATH=$PATH:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin > > function sizeof() { >-- >1.7.10.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 860776
: 617668