From 7515338726a402b41585968057b25904814e3f3e Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 14 May 2010 11:33:20 +0000 Subject: [PATCH] Use /bin/bash for scripts with bashisms --- WHATS_NEW | 1 + scripts/clvmd_fix_conf.sh | 2 +- scripts/fsadm.sh | 2 +- scripts/last_cvs_update.sh | 2 +- scripts/lvmconf.sh | 2 +- scripts/lvmconf_lockingtype2.sh | 2 +- scripts/vgimportclone.sh | 2 +- 7 files changed, 7 insertions(+), 6 deletions(-) diff --git a/WHATS_NEW b/WHATS_NEW index 94a9e91f5..771a3f6f0 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.65 - ================================= + Use /bin/bash for scripts with bashisms. Skip internal lvm devices in scan if ignore suspended devices is requested. Do not merge old device cache after we run full scan. (2.02.56) Add pkgconfigdir Makefile variable for make install override. diff --git a/scripts/clvmd_fix_conf.sh b/scripts/clvmd_fix_conf.sh index a00263c1a..cc2c50dc8 100644 --- a/scripts/clvmd_fix_conf.sh +++ b/scripts/clvmd_fix_conf.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Edit an lvm.conf file to enable cluster locking. # diff --git a/scripts/fsadm.sh b/scripts/fsadm.sh index 50d357971..e6b8e2fac 100644 --- a/scripts/fsadm.sh +++ b/scripts/fsadm.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2007-2009 Red Hat, Inc. All rights reserved. # diff --git a/scripts/last_cvs_update.sh b/scripts/last_cvs_update.sh index e38d0ec14..7b5afeabc 100755 --- a/scripts/last_cvs_update.sh +++ b/scripts/last_cvs_update.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash #$Header$ ################################################################################ ## diff --git a/scripts/lvmconf.sh b/scripts/lvmconf.sh index bf1494b65..3caaf9138 100644 --- a/scripts/lvmconf.sh +++ b/scripts/lvmconf.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2004-2009 Red Hat, Inc. All rights reserved. # diff --git a/scripts/lvmconf_lockingtype2.sh b/scripts/lvmconf_lockingtype2.sh index f5c431314..b823a43e6 100644 --- a/scripts/lvmconf_lockingtype2.sh +++ b/scripts/lvmconf_lockingtype2.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved. # diff --git a/scripts/vgimportclone.sh b/scripts/vgimportclone.sh index ecf054672..731b860ef 100755 --- a/scripts/vgimportclone.sh +++ b/scripts/vgimportclone.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Copyright (C) 2009 Chris Procter All rights reserved. # Copyright (C) 2009 Red Hat, Inc. All rights reserved. -- 2.43.5