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

package info (click to toggle)
glusterfs 11.1-6
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 45,156 kB
  • sloc: ansic: 467,237; sh: 51,851; python: 12,989; makefile: 1,962; yacc: 487; lisp: 124; lex: 61; xml: 14
file content (22 lines) | stat: -rw-r--r-- 1,272 bytes parent folder | download | duplicates (3)
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.