Results 1 to 1 of 1
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-29-2010 #1
- Join Date
- Jul 2010
Shell Programming and Scripting
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.
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
Help me where i am going wrong.
also there are some files in this format
nd i want to replace the file name with /path/to/directory/filename
Thanks in advance