~jeff-apple/openvista-gtm-integration/bug368789

« back to all changes in this revision

Viewing changes to scripts/usr/sbin/ovrestore

  • Committer: Jonathan Tai
  • Date: 2009-04-20 17:00:01 UTC
  • mfrom: (21.1.6 bug326435)
  • Revision ID: jon.tai@medsphere.com-20090420170001-gr4z4wg24b7crnf0
Merge bug 326435 - Linux commands should come with man pages

Show diffs side-by-side

added added

removed removed

Lines of Context:
188
188
    rsync -a --delete --exclude 'lost+found' "$tempdir/routines/" "$root/$instance/routines/"
189
189
} || exit_with_error "ovrestore" "Unable to restore routines"
190
190
 
 
191
print_status "ovrestore" "Compiling routines" "$skip_status"
 
192
 
191
193
(
192
194
    umask 007
193
195
    find "$root/$instance/objects" -type f -name '*.o' -exec rm -f {} \; &&
194
196
    cd "$root/$instance/objects" &&
195
197
    find "$root/$instance/routines" -type f -name '*.m' -exec mumps {} \; 2> /dev/null
196
 
) || exit_with_error "ovrestore" "Unable to recompile routines"
 
198
) || exit_with_error "ovrestore" "Unable to compile routines"
197
199
 
198
200
# if we're not applying journals, shut off journaling on the old database so
199
201
# that there's a clean break, then move the journal file out of the way