Use #!/bin/bash On some systems /bin/sh is a link for dash, not bash This script doesn't work with dash, so use #!/bin/bash. Signed-off-by: Mikulas Patocka --- test/lib/get.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: LVM2.2.02.98/test/lib/get.sh =================================================================== --- LVM2.2.02.98.orig/test/lib/get.sh 2013-01-30 20:16:06.000000000 +0100 +++ LVM2.2.02.98/test/lib/get.sh 2013-01-30 20:16:10.000000000 +0100 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Copyright (C) 2011-2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use,