Removed bashish.
This commit is contained in:
parent
bfeb736c35
commit
bc5ccee8d5
11
distr/mkdist
11
distr/mkdist
|
@ -61,7 +61,7 @@ while [ "$1" != "" ]; do
|
|||
shift
|
||||
done
|
||||
|
||||
if [ "$destdir" == "" ]; then
|
||||
if [ "$destdir" = "" ]; then
|
||||
echo "You must specify a destination directory. (Try --help for help.)"
|
||||
exit 1
|
||||
fi
|
||||
|
@ -131,7 +131,7 @@ if !(strings $arch | grep archiver > /dev/null); then
|
|||
echo "architecture.)"
|
||||
echo ""
|
||||
echo "Press RETURN to go ahead anyway, or CTRL+C to abort."
|
||||
read
|
||||
read ignored
|
||||
fi
|
||||
|
||||
# Actually do the work.
|
||||
|
@ -141,7 +141,7 @@ echo " into destination tree: $destdir"
|
|||
echo ""
|
||||
|
||||
if [ -e $destdir ]; then
|
||||
if [ "$delete" == "yes" ]; then
|
||||
if [ "$delete" = "yes" ]; then
|
||||
echo "Press RETURN to erase $destdir and its contents, or CTRL+C to abort."
|
||||
read
|
||||
echo "Erasing..."
|
||||
|
@ -159,7 +159,10 @@ echo "Done."
|
|||
|
||||
# Revision history
|
||||
# $Log$
|
||||
# Revision 1.4 2007-02-25 20:56:41 dtrg
|
||||
# Revision 1.5 2007-04-24 19:48:41 dtrg
|
||||
# Removed bashish.
|
||||
#
|
||||
# Revision 1.4 2007/02/25 20:56:41 dtrg
|
||||
# Performed major renovations to make the script work on OpenBSD.
|
||||
#
|
||||
# Revision 1.3 2007/02/24 02:05:56 dtrg
|
||||
|
|
Loading…
Reference in a new issue