uupick revision 7c478bd95313f5f23a4c958a745db2134aa03244
98N/A# The contents of this file are subject to the terms of the 98N/A# Common Development and Distribution License, Version 1.0 only 98N/A# (the "License"). You may not use this file except in compliance 98N/A# See the License for the specific language governing permissions 98N/A# and limitations under the License. 98N/A# When distributing Covered Code, include this CDDL HEADER in each 98N/A# If applicable, add the following below this CDDL HEADER, with the 98N/A# fields enclosed by brackets "[]" replaced with your own identifying 98N/A# information: Portions Copyright [yyyy] [name of copyright owner] 98N/A# Copyright 1999 Sun Microsystems, Inc. All rights reserved. 98N/A# Use is subject to license terms. 98N/A#ident "%Z%%M% %I% %E% SMI" 98N/A# sys: system; user: login name; cdir: current directory; 98N/Atrap "exit 1" 1 2 13 15 98N/A# mktmpdir - Create a private (mode 0700) temporary directory inside of /tmp 98N/A# for this process's temporary files. We set up a trap to remove the 98N/A# directory on exit (trap 0), and also on SIGHUP, SIGINT, SIGQUIT, and 154N/A if test $j =
"." -o $j =
"..";
then continue;
fi 98N/A# If dir path begins with a slash, use full path for destination; 98N/A# otherwise, use path relative to current dir; 98N/A# default destination is current dir 98N/A# As files are transferred, put their names in $tmpdir/$$uupick. 98N/A# verifies transfer took place. then find & remove directories 98N/A# (separate find is necessary because cpio -v doesn't print dir names) 98N/A gettext "Usage: [d][m dir][a dir][p][q][cntl-d][!cmd][*][new-line]";;