Comment 3 for bug 277873

Revision history for this message
Philip Peitsch (philip-peitsch) wrote : Re: Ubuntu Intrepid beta alternate CD cdromupgrade script fails due to extra '/'

Ahh... Okay I see the issue now. So the issue is coming about as the fullpath is expected after changing directories to a temporary location. I suppose these kinds of scripts are usually done by people who know what they are doing, but perhaps it might be useful to either

a) detect that a relative path is being used and refuse to continue (clearly this won't work!)
or even better would be b) convert the relative path to an absolute path... though this does make the script more complex. Even just a blanket warning (e.g. "this must be an absolute path") would be very informative and save this kind of error in future (hopefully).

Thanks for the information.