Project

General

Profile

Bug #16608

bashism in src/rbdmap

Added by Kefu Chai over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
07/07/2016
Due date:
% Done:

0%

Source:
Community (user)
Tags:
Backport:
jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

the shebang line reads #!/bin/sh@
while we are using array in this script,

 +        OIFS=$IFS
 +        IFS=','
 +        CMDPARAMS="" 
 +        for PARAM in ${PARAMS[@]}; do

see https://github.com/ceph/ceph/commit/c0980af3c72f01e6f99fd1e7e91c446934d6d856#commitcomment-18147416

reported by Kriechi@gh


Related issues

Copied to rbd - Backport #17061: jewel: bashism in src/rbdmap Resolved

History

#1 Updated by Kefu Chai over 2 years ago

  • Description updated (diff)

#2 Updated by Jason Dillaman over 2 years ago

  • Project changed from Ceph to rbd
  • Status changed from New to In Progress
  • Assignee set to Jason Dillaman
  • Backport set to jewel

#3 Updated by Jason Dillaman over 2 years ago

  • Status changed from In Progress to Need Review

#4 Updated by Jason Dillaman over 2 years ago

  • Status changed from Need Review to Pending Backport

#5 Updated by Loic Dachary over 2 years ago

#6 Updated by Loic Dachary over 2 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF