Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Cook: added support for TW_TRUNKDIR environment to ck wrapper

This simplifies configuration by allowing a wrapper like the following
(e.g. in ~/bin), rather than having to mess with PATH and a customized
copy of ck:

    #!/usr/bin/env sh
    export TW_TRUNKDIR=$HOME/Dev/TiddlyWiki/svn.tiddlywiki.org
    $TW_TRUNKDIR/tools/cooker/bash/ck $@
  • Loading branch information...
commit df7664286ebeb55f1def6f1b33f28b69be9093e8 1 parent 8b2e486
FND authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bash/ck
2  bash/ck
View
@@ -1,5 +1,5 @@
#!/bin/bash
-TW_TRUNKDIR=$HOME/Documents/TiddlyWiki/Trunk
+TW_TRUNKDIR=${TW_TRUNKDIR:-$HOME/Documents/TiddlyWiki/Trunk}
DEFAULT_FILENAME=index
FILENAME=${1:-$DEFAULT_FILENAME}
FILENAME=${FILENAME%\.recipe}
Please sign in to comment.
Something went wrong with that request. Please try again.