File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ while [ "$1" != "" ]; do
6161 shift
6262done
6363
64- if [ " $destdir " == " " ]; then
64+ if [ " $destdir " = " " ]; then
6565 echo " You must specify a destination directory. (Try --help for help.)"
6666 exit 1
6767fi
@@ -131,7 +131,7 @@ if !(strings $arch | grep archiver > /dev/null); then
131131 echo " architecture.)"
132132 echo " "
133133 echo " Press RETURN to go ahead anyway, or CTRL+C to abort."
134- read
134+ read ignored
135135fi
136136
137137# Actually do the work.
@@ -141,7 +141,7 @@ echo " into destination tree: $destdir"
141141echo " "
142142
143143if [ -e $destdir ]; then
144- if [ " $delete " == " yes" ]; then
144+ if [ " $delete " = " yes" ]; then
145145 echo " Press RETURN to erase $destdir and its contents, or CTRL+C to abort."
146146 read
147147 echo " Erasing..."
@@ -159,7 +159,10 @@ echo "Done."
159159
160160# Revision history
161161# $Log$
162- # Revision 1.4 2007-02-25 20:56:41 dtrg
162+ # Revision 1.5 2007-04-24 19:48:41 dtrg
163+ # Removed bashish.
164+ #
165+ # Revision 1.4 2007/02/25 20:56:41 dtrg
163166# Performed major renovations to make the script work on OpenBSD.
164167#
165168# Revision 1.3 2007/02/24 02:05:56 dtrg
You can’t perform that action at this time.
0 commit comments