|
|
|
[
Permlink
| « Hide
]
Robin Shen [27/Mar/15 12:56 AM]
Please call dos2unix to convert the script to unix version.
I think this migrate.sh file should be in Unix version, since migrate.bat is for Windows. Do you think it is an issue with the source?
I am concerned about the source, not only this file, since this file should be already in Unix version. Can you please double check the source to ensure that it has no issue?
We develop on Windows, and edit this file on Windows. Our package script will convert it to Unix when packaging the product. You may do the same.
Thank you for promptly response.
Per your previous comment, the source has not issue. Since the file was developed on Windows platform, we need to convert it to Unix format. We will do as your suggestion and keep you informed. Thank you again. Phong Trinh We learned that we need to convert a number of files in the build to Unix version, not only migrate.sh file. There are chance, we may miss some of them. So I think we need to create builld/package in Unix version using the package script. Can you give us this script for building Unix version and maybe its process?
We build QB package on Unix (although do daily development on Windows), so various .sh files checked out from our git server is of unix format already. At your side, you may add an extra step in QB build script (build/build.xml) to call dos2unix to convert various .sh to unix format.
We found that the issue was with QB. When QB synchronized the source from Perforce down to the build machine, by default (QB option: End Line = Local), it converted the files to version of machine platform. Since the build machine was Windows platform; therefore, Perforce converted files to Windows version. We changed End Line = unix, and the build is fine.
Thanks, |