]> git.proxmox.com Git - mirror_edk2.git/commitdiff
CryptoPkg/OpensslLib: Convert saved opensslconf.h to DOS line endings
authorDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 11 Mar 2016 21:16:51 +0000 (13:16 -0800)
committerQin Long <qin.long@intel.com>
Fri, 11 Mar 2016 21:16:51 +0000 (13:16 -0800)
Until we fix the git repository to store line endings properly and then
just check them out in the appropriate form for the platform, let's make
process_files.sh convert the opensslconf.h to DOS line endings when it
creates it.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Reviewed-by: Qin Long <qin.long@intel.com>
CryptoPkg/Library/OpensslLib/process_files.sh

index bb33c8ae3f5b2845e5265bb78310dc14f35d604e..885adf3a2f7f226f8f44fd5de9413bea82ee0d24 100755 (executable)
@@ -93,5 +93,6 @@ function filelist ()
 filelist < "${OPENSSL_PATH}/MINFO" |  sed -n -f - -i OpensslLib.inf
 
 # We can tell Windows users to put this back manually if they can't run
-# Configure.
-cp "${OPENSSL_PATH}/crypto/opensslconf.h" .
+# Configure. For now, until the git repository is fixed to store things
+# sanely, also convert to DOS line-endings
+unix2dos -n "${OPENSSL_PATH}/crypto/opensslconf.h" opensslconf.h