Skip to content

Commit

Permalink
regress: fix migration-volume-sd-sd-test
Browse files Browse the repository at this point in the history
do not user full path of sed as it is different on FreeBSD
  • Loading branch information
Your Name authored and pstorz committed Jul 11, 2018
1 parent ec2e0a1 commit 6cc0357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regress/tests/migration-volume-sd-sd-test
Expand Up @@ -17,7 +17,7 @@ scripts/cleanup
# create start script for second sd
/bin/cp -f bin/bareos-ctl-sd bin/bareos-ctl-sd2
#/bin/sed 's/bareos-sd.conf/bareos-sd2.conf/g' < bin/bareos-ctl-sd > bin/bareos-ctl-sd2
/bin/sed "s#BAREOS_CONFIG_DIR=.*#BAREOS_CONFIG_DIR=${cwd}/bin/bareos-sd2.conf#g" < bin/bareos-ctl-sd > bin/bareos-ctl-sd2
sed "s#BAREOS_CONFIG_DIR=.*#BAREOS_CONFIG_DIR=${cwd}/bin/bareos-sd2.conf#g" < bin/bareos-ctl-sd > bin/bareos-ctl-sd2

/bin/cp -f scripts/bareos-sd-migration-sd-sd1.conf bin/bareos-sd.conf
/bin/cp -f scripts/bareos-sd-migration-sd-sd2.conf bin/bareos-sd2.conf
Expand Down

0 comments on commit 6cc0357

Please sign in to comment.