summaryrefslogtreecommitdiffstats
path: root/public/oak/bin/ntppccp.cmd
blob: bf9ea352139124c8fc2962eac6fe94b912761fa0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@echo off
setlocal
set _target=%_NTPPCTREE%
if "%3" == "" goto rootcopy
if "%3" == "LIBS" goto docopylib
binplace -d %3 %1
goto done
:rootcopy
binplace -d . %1
goto done
:docopylib
set _target=%_NTPPCLIBS%
echo Copying %1 to %_target%
if NOT EXIST %_target%\. mkdir %_target%
copy %1 %_target%
:done
endlocal