Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

doc: expect sed in /usr/bin. env is no good use.

  • Loading branch information...
commit 4b533b850066cd6384ffb61e8f41292f8faf8788 1 parent e0a1365
@kaos kaos authored
View
7 doc/ref/tags/.generate
@@ -1,11 +1,16 @@
#!/bin/bash
+if [ ! -x /usr/bin/sed ]; then
+ echo "sed not found in /usr/bin, please consider adding a symlink to it there." &>2
+ exit 1
+fi
+
scanner=$ZOTONIC_SRC/src/erlydtl/erlydtl_scanner.erl
dir=${0%/*}
for tag in `$dir/.get_tags $scanner`
do
- if grep $tag $dir/.ignore >/dev/null; then
+ if grep "$tag" $dir/.ignore >/dev/null; then
continue
fi
View
2  doc/ref/tags/.get_tags
@@ -1,4 +1,4 @@
-#!/usr/bin/env sed -f
+#!/usr/bin/sed -f
# operate on the first lines of the identifier_to_keyword fun
# that mentions open_tag (guard clause), and down until the
View
1  doc/ref/tags/.ignore
@@ -1,2 +1,3 @@
else
elseif
+elif
Please sign in to comment.
Something went wrong with that request. Please try again.