Lines Matching refs:die
12 die() {
22 cd "$MANDIR" || die "Could not cd to $MANDIR"
24 test -d keep || mkdir keep || die "Could not create $MANDIR/keep directory"
25 test -d nuke || mkdir nuke || die "Could not create $MANDIR/nuke directory"
28 (find . -maxdepth 1 -name "_*" | xargs -I ITEMS /bin/mv ITEMS nuke) || die "could not move all underscore-prefixed items"
29 (find . -maxdepth 1 -name "DBus*Internal*" | xargs -I ITEMS /bin/mv ITEMS nuke) || die "could not move all internal-containing items"
30 (find . -maxdepth 1 -name "dbus_*_internal_*" | xargs -I ITEMS /bin/mv ITEMS nuke) || die "could not move all internal-containing items"
45 /bin/mv "$I" nuke || die "could not move $I to $MANDIR/nuke"
58 /bin/mv "$I" nuke || die "could not move $I to $MANDIR/nuke"
65 (find . -maxdepth 1 -name "dbus_*" | xargs -I ITEMS /bin/mv ITEMS keep) || die "could not move all dbus-prefixed items"
66 (find . -maxdepth 1 -name "DBUS_*" | xargs -I ITEMS /bin/mv ITEMS keep) || die "could not move all DBUS_-prefixed items"
67 (find . -maxdepth 1 -name "DBus*" | xargs -I ITEMS /bin/mv ITEMS keep) || die "could not move all DBus-prefixed items"
71 (find . -maxdepth 1 -type f | xargs -I ITEMS /bin/mv ITEMS nuke) || die "could not move remaining items"
80 (find keep -type f -name "*" | xargs -I ITEMS /bin/mv ITEMS .) || die "could not move kept items back"
82 rmdir keep || die "could not remove $MANDIR/keep"