(file) Return to genfiles.sh CVS log (file) (dir) Up to [RizwankCVS] / group3 / wine / dlls / cabinet / tests

Diff for /group3/wine/dlls/cabinet/tests/genfiles.sh between version 1.1 and 1.4

version 1.1, 2005/02/25 07:49:43 version 1.4, 2005/03/18 00:28:59
Line 3 
Line 3 
 # This is run just once, and generates the file cabinet_files.h, # This is run just once, and generates the file cabinet_files.h,
 # which is then checked into CVS forever. # which is then checked into CVS forever.
 # It is here just in case we want to add more test files later. # It is here just in case we want to add more test files later.
 # Copyright 2005 Dan Kegel; LGPL  # Copyright 2005 Dan Kegel, Rizwan Kassim; LGPL
  
 #set -ex  # remove "wine" before command calls if you're running on Windows
   
   set -ex
  
 # First, get cabinet SDK # First, get cabinet SDK
 # You might need to download it by hand from ttp://support.microsoft.com/?id=310618 # You might need to download it by hand from ttp://support.microsoft.com/?id=310618
Line 22 
Line 24 
 echo 'So long, and thanks for all the fish.....' > simple.txt echo 'So long, and thanks for all the fish.....' > simple.txt
 wine cabsdk/BIN/CABARC.EXE N simple.cab simple.txt wine cabsdk/BIN/CABARC.EXE N simple.cab simple.txt
  
 # More complicated archive, with two files  
 cp ../../../README README  
 cp ../../../COPYING.LIB lgpl.txt  
 wine cabsdk/BIN/CABARC.EXE N complex.cab README lgpl.txt  
   
 # Blow away cabinet SDK # Blow away cabinet SDK
 rm -rf cabsdk rm -rf cabsdk
  
 # Pack source files and archives into hex arrays # Pack source files and archives into hex arrays
 perl ../../../tools/chexify.pl simple.txt README lgpl.txt simple.cab complex.cab > data.h  perl ../../../tools/chexify.pl simple.txt txt simple.cab  > simplecab.h
   
   rm -fr simple.cab


Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

Rizwan Kassim
Powered by
ViewCVS 0.9.2