]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/cats/install-default-backend.in
Revert to 5.0 size computation in accurate elements, may fix #1821
[bacula/bacula] / bacula / src / cats / install-default-backend.in
index 34fea4ce39d4cc786180496a606ec26f80b41c51..80eae6aefa4c76bc9591020ba67f6ac631c68a56 100755 (executable)
@@ -27,7 +27,13 @@ if [ -f ${install_dir}/libbaccats-${default_backend}-${library_version}${SHLIB_E
    # Create a default catalog library pointing to one of the shared libs.
    #
    rm -f ${install_dir}/libbaccats-${library_version}${SHLIB_EXT}
-   ln -s ${install_dir}/libbaccats-${default_backend}-${library_version}${SHLIB_EXT} \
+
+   #
+   # Create a relative symlink to the default backend
+   # As all backends are in the same directory anyhow this should
+   # always work.
+   #
+   ln -s libbaccats-${default_backend}${SHLIB_EXT} \
          ${install_dir}/libbaccats-${library_version}${SHLIB_EXT}
 fi