[OpenWrt-Devel] [PATCH] [scripts] Fix typo, replace quotes in comments

Robert P. J. Day rpjday at crashcourse.ca
Thu Sep 4 04:30:33 EDT 2014


No functional changes.

Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>

---

  first, admittedly trivial patch just to verify i'm doing this
correctly. it's only because i fixed the typo that i bothered to get
rid of those backquotes -- to me, backquotes mean something quite
special so i prefer to avoid using them unless it's in the specific
context of shell command substitution.

  if this patch is of the correct format, further patches will
eventually be more substantive.

diff --git a/scripts/update-package-md5sum b/scripts/update-package-md5sum
index 1cf1716..3b4e047 100755
--- a/scripts/update-package-md5sum
+++ b/scripts/update-package-md5sum
@@ -2,12 +2,12 @@
 #
 # update-package-md5sum - Updates md5sum of OpenWrt packages
 #
-# update-package-md5sum will update the md5sum for all recusivly found OpenWrt packages
-# in a given directory.
+# update-package-md5sum will update the md5sum for all recursively-found
+# OpenWrt packages in a given directory.
 #
 # Usage: scripts/update-package-md5sum <package directory>
 #
-# Example: `scripts/update-package-md5sum feeds/packages/python`
+# Example: $ scripts/update-package-md5sum feeds/packages/python

 DL_FOLDER=`grep -Eo '^CONFIG_DOWNLOAD_FOLDER=".*"$' .config | \
     sed 's,^CONFIG_DOWNLOAD_FOLDER="\(.*\)"$,\1,'`

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list