I try to run following command from shell script:
svn checkout http://url/ --username user --password password --non-interactive --no-auth-cache .
It fails always with following error:
svn: OPTIONS of 'http://url/': authorization failed: Could not authenticate to server: rejected Basic challenge (http://url)
Here the call out of my script:
$(svn $command $url $auth --non-interactive --no-auth-cache .)
Running the same command from the terminal works fine.
What is the difference between running from shell script and terminal?
EDIT:
Here some version information:
- OS: Porteus 1.0 based on Slackware 13.3
- Subversion: subversion-1.6.16-i486-1
&in the URL? You should quote it with single quote'character. – Keith Aug 25 '11 at 6:51"then. Your question isn't telling us everything... – Keith Aug 25 '11 at 7:23