Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/utils/bin/sea.cmd
blob: bf3f2adb03e66af804a115feecdfc8891d10d95d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
@echo off
setlocal

set SHELL=cmd.exe

set PACKAGE_HOME=%~dp0\..

call %PACKAGE_HOME%\bin\activate.cmd

set OLDSEA=%SEA%
set SEA=%PACKAGE_HOME%
set /a SEALVL=%SEALVL% + 1

if "%1" == "" (
    echo SEALVL=%SEALVL%
    echo SEA=%SEA%
    echo PATH=%PATH%
    %SHELL%
) else (
echo "asdfasdfadsf"
    %SHELL% %*
)

set /a SEALVL=%SEALVL% - 1
echo SEALVL=%SEALVL%
echo SEA=%OLDSEA%