]> git.sur5r.net Git - bacula/bacula/commitdiff
- Modified bconsole script so that it is improperly
authorKern Sibbald <kern@sibbald.com>
Thu, 11 Aug 2005 10:49:50 +0000 (10:49 +0000)
committerKern Sibbald <kern@sibbald.com>
Thu, 11 Aug 2005 10:49:50 +0000 (10:49 +0000)
  installed, it will refuse to execute.  This avoids
  recursive call loops.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2303 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/ReleaseNotes
bacula/kes-1.37
bacula/scripts/bconsole.in
bacula/src/version.h

index e9fdca9c10d6ed0dece433682df274f23e0ec151..4954bdfc29df51384316eb31fd5624b7b01d2161 100644 (file)
@@ -1,5 +1,5 @@
 
-          Release Notes for Bacula 1.37.32
+          Release Notes for Bacula 1.37.35
 
   Bacula code: Total files = 420 Total lines = 137,098 (*.h *.c *.in)
 
@@ -52,6 +52,8 @@ Major Changes:
 - Web-bacula, previously a separate project by Juan Luis Frances,
   is now included in the Bacula GUI release (yet to be fully
   created).
+- The code is now Internationalized so that it can be localized
+  in native languages.  Thanks to Nicolas Boichat.
 
 New Directives:
 - New Job directive "Prefer Mounted Volumes = yes|no" causes the
index ecf137b2587d0ceb5165ad104a625918237a31c3..fbbfc0e5b9e256c94ea2540dd5cddd0ed5e57dbf 100644 (file)
@@ -3,6 +3,11 @@
 
 General:
 
+Changes to 1.37.35:
+11Aug05
+- Modified bconsole script so that it is improperly
+  installed, it will refuse to execute.  This avoids
+  recursive call loops.
 Changes to 1.37.34:
 06Aug05
 - Apply David's ACL fix to src/filed/acl.c
index 2aa66b00b2be99ec466ee4986aedd898a286de21..25ed4e90532a5521a07b3f4284ea599a7e3a1fab 100755 (executable)
@@ -1,4 +1,20 @@
 #!/bin/sh
+which dirname >/dev/null 
+# does dirname exit?
+if [ $? = 0 ] ; then
+  cwd=`dirname $0`
+  if [ x$cwd = x. ]; then
+     cwd=`pwd`
+  fi
+  if [ x$cwd = x@sbindir@ ] ; then
+     echo "bconsole not properly installed."  
+     exit 1
+  fi
+fi
+if [ x@sbindir@ = x@sysconfdir@ ]; then
+   echo "bconsole not properly installed."
+   exit 1
+fi
 if [ $# = 1 ] ; then
    echo "doing bconsole $1.conf"
    @sbindir@/bconsole -c $1.conf
index 062cd9d19d646af4b338dddf9aeac751d95e29bb..6e47d909fa7a545f7e8f51b0220bc8f67b39ef81 100644 (file)
@@ -1,8 +1,8 @@
 /* */
 #undef  VERSION
-#define VERSION "1.37.34"
-#define BDATE   "06 August 2005"
-#define LSMDATE "06Aug05"
+#define VERSION "1.37.35"
+#define BDATE   "11 August 2005"
+#define LSMDATE "11Aug05"
 
 /* Debug flags */
 #undef  DEBUG