File: 08-bash-term-in-posix-shell.diff

package info (click to toggle)
glusterfs 11.2-3
  • links: PTS
  • area: main
  • in suites: sid
  • size: 28,240 kB
  • sloc: ansic: 471,238; sh: 45,610; python: 16,893; perl: 3,328; makefile: 2,014; yacc: 487; ruby: 171; lisp: 124; xml: 75; lex: 61
file content (22 lines) | stat: -rw-r--r-- 1,272 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Workaround these warnings:
# glusterfs-common: bash-term-in-posix-shell '${gfid:0:2}' [usr/lib/x86_64-linux-gnu/glusterfs/gfind_missing_files/gfid_to_path.sh:24]
# glusterfs-common: bash-term-in-posix-shell '/dev/tcp' [usr/lib/x86_64-linux-gnu/glusterfs/gfind_missing_files/gfind_missing_files.sh:32]

diff -Naur glusterfs-10.2.orig/tools/gfind_missing_files/gfid_to_path.sh glusterfs-10.2/tools/gfind_missing_files/gfid_to_path.sh
--- glusterfs-10.2.orig/tools/gfind_missing_files/gfid_to_path.sh	2022-05-13 11:46:25.339563911 +0200
+++ glusterfs-10.2/tools/gfind_missing_files/gfid_to_path.sh	2022-09-14 10:12:40.081125914 +0200
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 ## Copyright (c) 2015 Red Hat, Inc. <http://www.redhat.com/>
 ## This file is part of GlusterFS.
diff -Naur glusterfs-10.2.orig/tools/gfind_missing_files/gfind_missing_files.sh glusterfs-10.2/tools/gfind_missing_files/gfind_missing_files.sh
--- glusterfs-10.2.orig/tools/gfind_missing_files/gfind_missing_files.sh	2022-05-13 11:46:25.339563911 +0200
+++ glusterfs-10.2/tools/gfind_missing_files/gfind_missing_files.sh	2022-09-14 10:12:48.985093471 +0200
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 ##  Copyright (c) 2015 Red Hat, Inc. <http://www.redhat.com/>
 ##  This file is part of GlusterFS.