]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/prepare-other-loc
Backport from Bacula Enterprise
[bacula/bacula] / regress / scripts / prepare-other-loc
index fddd355e936cea49c9972f63dd84d016b3a1ca49..e70b6e6b1e382b4e6f6c31fa6b9452af510f8d99 100755 (executable)
@@ -1,4 +1,9 @@
 #!/bin/sh
+#
+# Copyright (C) 2000-2015 Kern Sibbald
+# License: BSD 2-Clause; see file LICENSE-FOSS
+#
+
 
 . scripts/functions
 
@@ -11,4 +16,8 @@ sed "s:BACFDBIN=$cwd/bin:BACFDBIN=$bin:" $SCR-fd > tmp/1
 mv tmp/1 $SCR-fd
 chmod -x $cwd/bin/bacula-fd $cwd/bin/bacula-sd $cwd/bin/bacula-dir $cwd/bin/bconsole    
 chmod +x $SCR-*
+if [ x$plugins != x ]; then
+    mv $cwd/bin/plugins $cwd/bin/plugins.org
+    ln -s $plugins $cwd/bin/plugins
+fi