Hey all.
I'm not sure where the original file is, and it's only a tiny change,
so I'm not sure if this patch is useful, BUT...
On this page:
http://orgmode.org/manual/Batch-execution.html
The example script is missing backticks around the pwd.
Patch follows.
####################################################################
diff --git a/tangle.el b/tangle.el
index 0391f64..e7693cd 100755
--- a/tangle.el
+++ b/tangle.el
@@ -3,7 +3,7 @@
#
# tangle files with org-mode
#
-DIR=pwd
+DIR=`pwd`
FILES=""
# wrap each argument in the code required to call tangle on it