From 05a2e9f9e9d8e944a9c505a907d593ebfc2b5e78 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 28 May 2017 15:38:05 +0200 Subject: [PATCH] Make file-span-vol-test portable --- regress/tests/file-span-vol-test | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/regress/tests/file-span-vol-test b/regress/tests/file-span-vol-test index 04a2e0bd22..11cedb346c 100755 --- a/regress/tests/file-span-vol-test +++ b/regress/tests/file-span-vol-test @@ -24,8 +24,7 @@ change_jobname NightlySave $JobName start_test # Remove last / and convert all / to cd commands -CD=`echo $tmp | sed 's:/$::' | sed 's:/:\ncd :g'` -echo "CD=${CD}" +CD=`printf $tmp | sed 's:/$::' | sed 's:/:\ncd :g'` cat <${cwd}/tmp/bconcmds @output /dev/null -- 2.39.5