anchor.diff:      GOTO:EOF
       
   :exit
  -    exit /B 0+    EXIT /B 0
positive.code:     SET PORT=12181
  )
  
  CALL %bin_dir%\pre-require.cmd
  
  IF NOT EXIST %INSTALL_DIR% mkdir %INSTALL_DIR%
  
  
  pushd %INSTALL_DIR%
  
  IF NOT EXIST %INSTALL_DIR%\%zk% (
      CALL %bin_dir%\wget.exe --no-check-certificate https://github.com/shengofsun/packages/raw/master/%zk%.tar.gz?raw=true
      IF NOT EXIST %zk%.tar.gz (
          CALL %bin_dir%\echoc.exe 4 download zookeeper package failed from  https://github.com/shengofsun/packages/raw/master/%zk%.tar.gz?raw=true
          popd
          exit /B 1
      ) 
      
      CALL %bin_dir%\7z.exe x %zk%.tar.gz -y -o"%INSTALL_DIR%"
      CALL %bin_dir%\7z.exe x %zk%.tar -y -o"%INSTALL_DIR%"
  )
  
  SET ZOOKEEPER_HOME=%INSTALL_DIR%\%zk%
  
negative.code: @ECHO OFF
  
  SET bin_dir=%~dp0
  SET TOP_DIR=%bin_dir%\..\..
  PUSHD "%TOP_DIR%"
  SET TOP_DIR=%CD%
  POPD
  SET INSTALL_DIR=%~f1
  SET PORT=%2
  SET zk=zookeeper-3.4.6
  