diff options
author | Bernard Normier <bernard@zeroc.com> | 2013-02-11 18:31:09 -0500 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2013-02-11 18:31:09 -0500 |
commit | 64ea58c9723b5070bcc0fcd7850468d2f2dc3d87 (patch) | |
tree | c90c01fc2f4e572b5d7b3b1f88d886db49c41b33 /cpp | |
parent | Minor fix: 3.5 => 3.5.0 (diff) | |
download | ice-64ea58c9723b5070bcc0fcd7850468d2f2dc3d87.tar.bz2 ice-64ea58c9723b5070bcc0fcd7850468d2f2dc3d87.tar.xz ice-64ea58c9723b5070bcc0fcd7850468d2f2dc3d87.zip |
Use db53_ prefix when available, not just for Linux RPMs
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/demo/Freeze/backup/README | 6 | ||||
-rwxr-xr-x | cpp/demo/Freeze/backup/backup | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cpp/demo/Freeze/backup/README b/cpp/demo/Freeze/backup/README index 658f57f899a..04a3fbab19c 100644 --- a/cpp/demo/Freeze/backup/README +++ b/cpp/demo/Freeze/backup/README @@ -19,9 +19,9 @@ db utility names ---------------- The Berkeley DB utilities are usually named db_hotbackup, db_archive, -db_recover, etc. If you use the Berkeley DB 5.3.21 RPMs provided by -ZeroC, the utility names are db53_hotbackup, db53_archive, etc. Please -adjust the instructions below accordingly. +db_recover, etc. If you use the Berkeley DB 5.3.21 RPMs or Solaris +binaries provided by ZeroC, the utility names are db53_hotbackup, +db53_archive, etc. Please adjust the instructions below accordingly. Backup diff --git a/cpp/demo/Freeze/backup/backup b/cpp/demo/Freeze/backup/backup index 9dfa05581bb..a9081d6cd40 100755 --- a/cpp/demo/Freeze/backup/backup +++ b/cpp/demo/Freeze/backup/backup @@ -13,7 +13,7 @@ # named db53_xxx # db="db" -if [ -f /usr/bin/db53_hotbackup ]; then db="db53"; fi +if `command -v db53_hotbackup > /dev/null 2>&1`; then db="db53"; fi case $1 in "full" | "incremental") echo "Performing $1 backup" |