From: Kern Sibbald Date: Sun, 28 May 2017 13:38:05 +0000 (+0200) Subject: Make file-span-vol-test portable X-Git-Tag: Release-7.9.1~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=05a2e9f9e9d8e944a9c505a907d593ebfc2b5e78;p=bacula%2Fbacula Make file-span-vol-test portable --- 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