Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- get_fli4l_tar.bat 2012-07-28 09:10:32 +0000
- +++ get_fli4l_tar.bat 2012-07-28 15:45:52 +0000
- @@ -18,6 +18,11 @@
- set bz2packs=
- rem Note: use quotes for subdirectories! set bz2packs="kernels/kernel-3.8.21"
- +rem list of zip-packages (packed with zip)
- +
- +set zippacks=
- +rem Note: use quotes for subdirectories! set zippacks="../opt_data3/9999-opt_demo_3.7.0-0.99"
- +
- rem no changes after this line needed
- rem #################################
- @@ -60,6 +65,9 @@
- if not "%bz2packs%"=="" echo Download bz2-packages.
- for %%i in (%bz2packs%) do wget -N ftp://%url%/%%i.tar.bz2
- +if not "%zippacks%"=="" echo Download zip-packages.
- +for %%i in (%zippacks%) do wget -N ftp://%url%/%%i.zip
- +
- cd ..
- echo Extract base in directory: |rmeol.exe >tmp.txt
- @@ -88,6 +96,15 @@
- for %%i in (packages\*.bz2) do tar --wildcards -C %basedir% -xjf %%i
- :nobz2
- +if "%zippacks%"=="" goto nozip
- +echo Extract zip-packages in directory: |rmeol.exe >tmp.txt
- +cd|rmeol.exe >>tmp.txt
- +echo \%basedir% >>tmp.txt
- +type tmp.txt
- +
- +for %%i in (packages\*.zip) do unzip -o -q -d %basedir% %%i
- +
- +:nozip
- del tmp.txt
- echo set TARBDIR=TARB-fli4l-|rmeol.exe > tarbdir.bat
- type %basedir%\version.txt|rmeol.exe >>tarbdir.bat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement