From 340d31e43a7bf08bbbac75757cd3ae0d9bcacb5b Mon Sep 17 00:00:00 2001 From: "chess.griffin" Date: Sat, 24 Jan 2009 04:42:10 +0000 Subject: [PATCH] fix minor typos etc. --- src/usr/bin/sbopkg | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/usr/bin/sbopkg b/src/usr/bin/sbopkg index 9d1147c..ae20e6e 100755 --- a/src/usr/bin/sbopkg +++ b/src/usr/bin/sbopkg @@ -49,7 +49,7 @@ SBOVER=svn_r$(cat ${0} | grep '$Id: ' | head -1 | \ sed -e 's/^.*Id: sbopkg \([0-9.]*\) .*$/\1/') crunch() { - # the inspiration for this and the next function comes from the crunch() + # The inspiration for this and the next function comes from the crunch() # in installpkg. Both take one argument - the first reduces runs of spaces # to one and the second does that and reformats to 78 columns. echo -e "$@" | tr -s ' ' @@ -125,7 +125,7 @@ ck_dir() { \\n\\nMake sure you have enough privileges to create that\ directory, or specify a different location in sbopkg.conf.\ \\nSee the sbopkg.conf(5) man page for more details.\ - \\n\\nHit ENTER to continue anyway, CTRL-C to abort." + \\n\\nPRess ENTER to continue anyway, CTRL-C to abort." read JUNK ;; 2) crunch_fmt "\\n\\nWARNING:\ @@ -134,7 +134,7 @@ ck_dir() { that directory, or specify a different location in\ sbopkg.conf.\ \\nSee the sbopkg.conf(5) man page for more details.\ - \\n\\nHit ENTER to continue anyway, CTRL-C to abort." + \\n\\nPress ENTER to continue anyway, CTRL-C to abort." read JUNK ;; esac @@ -190,7 +190,6 @@ pid_check () { exit 1 fi fi - cleanup echo $$ > $PIDFILE } @@ -467,7 +466,7 @@ function updates__compare_versions() { # Compare numeric versions # Takes 2N arguments, where N is the number of numbers (...) # componing the version number. - # E.g. is the two packages are of version 1.2.3 build 7 and + # E.g. if the two packages are of version 1.2.3 build 7 and # 1.2.50 build 4, the argument list is # 1 2 3 7 1 2 50 4 # Prints -1 if the "left" package is newer (not an update), 0 if @@ -1314,8 +1313,8 @@ delete_build_queue () { --help-label "Done" --cancel-label "Cancel" \ --menu "$(crunch "The following packages are currently in \ the build queue. You can remove individual items from the build \ - queue by highlighting them and pressing . Press when \ - you are finished and the individual deletions will be \ + queue by highlighting them and pressing . Press \ + when you are finished and the individual deletions will be \ committed. Otherwise, press at any time to abort your \ changes.\n\nYou can also press to immediately \ clear the queue. This cannot be undone.")" 25 60 8 \