Hello
i have a shell script which will go in some folders using for loop, build some programs with gcc and zip the output.
then i have to paste the file of that zip file into a yml file which will be further used by a ruby watir script.
Code
Quote:
PROJECT_PATH=/uploads/$PROJECT_FOLDER
zip -rq /uploads/$PROJECT_FOLDER/build/Release-iphoneos/Apptitude.app.zip /uploads/$PROJECT_FOLDER/build/Release-iphoneos/Apptitude.app
sed -ie 's|Bundle_Itunes_File_Binary: ""|Bundle_Itunes_File_Binary: "/uploads/$PROJECT_FOLDER/build/Release-iphoneos/Apptitude.app.zip"|g' submit_itunes_app.yml
but when i try to paste the path of zip file into that submit_itunes_app.yml it doesnt work..
it is always replaced by
Bundle_Itunes_File_Binary: "/uploads/$PROJECT_FOLDER/build/Release-iphoneos/Apptitude.app.zip"

Help me where i am going wrong.

also there are some files in this format
Bundle_Itunes_File_Large_1: "image_big121111.png"
nd i want to replace the file name with /path/to/directory/filename

Thanks in advance