Auth failed running command from shell script
- by CSchulz
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