Skip to content

Commit

Permalink
Merge fix(2) for PR snabbco#829 (Markdown on demand) into max-next
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneia committed Mar 21, 2016
2 parents 8769973 + 19ffe84 commit 676a085
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/scripts/process-markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
# output markdown.

set -e
if [ $# != 2 ]; then
if [ $# != 2 ]; then
echo "Usage: $0 <input> <output>" >&2
exit 1
fi

input=$(readlink -f $1)
output=$(readlink -f $2)
input=$(readlink -m $1)
output=$(readlink -m $2)

[ -d $(dirname "$output") ] || mkdir -p "$(dirname $output)"
cd $(dirname $output)
Expand Down

0 comments on commit 676a085

Please sign in to comment.