]> git.madduck.net Git - etc/awesome.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

fixed typo in helpers.lua
authorluke bonham <dadasignificanulla@gmail.com>
Wed, 29 Jan 2014 19:08:16 +0000 (20:08 +0100)
committerluke bonham <dadasignificanulla@gmail.com>
Wed, 29 Jan 2014 19:08:16 +0000 (20:08 +0100)
helpers.lua

index 08aba0d7d454d6d7b3ba78cdc9568dd737a0614a..af6443fb88a51f4c4c0083b82f66465241ea211b 100644 (file)
@@ -61,7 +61,7 @@ end
 -- get first non empty line from a file,
 -- returns nil otherwise
 function helpers.first_nonempty_line(file)
-  for k,v in pairs(lines_from(file)) do
+  for k,v in pairs(helpers.lines_from(file)) do
     if #v then return v end 
   end
   return nil