anchor.diff:  	-- expand template with correct path information
   	print()
   	print([[Loading registry information for ".rockspec" files]])
  -	exec( S[[win32\lua5.1\bin\lua5.1.exe "$FULL_PREFIX\LuaRocks.reg.lua" "$FULL_PREFIX\LuaRocks.reg.template"]] )
  -	exec( S[[regedit /S "$FULL_PREFIX\\LuaRocks.reg"]] )
  +	exec( S[[win32\lua5.1\bin\lua5.1.exe "$PREFIX\LuaRocks.reg.lua" "$PREFIX\LuaRocks.reg.template"]] )
  +	exec( S[[regedit /S "$PREFIX\\LuaRocks.reg"]] )
   end
   
   -- ***********************************************************
   -- Cleanup
   -- ***********************************************************
   -- remove regsitry related files, no longer needed
  -exec( S[[del "$FULL_PREFIX\LuaRocks.reg.*" >NUL]] )
  +exec( S[[del "$PREFIX\LuaRocks.reg.*" >NUL]] )
   -- remove pe-parser module
  -exec( S[[del "$FULL_PREFIX\pe-parser.lua" >NUL]] )
  +exec( S[[del "$PREFIX\pe-parser.lua" >NUL]] )
   
   -- ***********************************************************
   -- Exit handlers 
  
positive.code: end
  
  vars.PREFIX = vars.PREFIX or os.getenv("PROGRAMFILES")..[[\LuaRocks]]
  vars.FULL_PREFIX = S"$PREFIX\\$VERSION"
  vars.BINDIR = vars.FULL_PREFIX
  vars.LIBDIR = vars.FULL_PREFIX
  vars.LUADIR = S"$FULL_PREFIX\\lua"
  vars.INCDIR = S"$FULL_PREFIX\\include"
  vars.LUA_SHORTV = vars.LUA_VERSION:gsub("%.", "")
  
  if INSTALL_LUA then
  
negative.code: ==========================
  
  Will configure LuaRocks with the following paths:
  LuaRocks        : $PREFIX
  Config file     : $CONFIG_FILE
  Rocktree        : $TREE_ROOT
  
  