[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How to create a link that works between OS X and Ubuntu

From: richard Cavell <richardcavell_at_mail.com>
Date: Tue, 26 Apr 2011 02:38:16 +0000

Further experimentation shows that symbolic links work (ln -s autobot a for the first command). Are hard links supposed to work?

 Richard

----- Original Message -----
From: richard Cavell
Sent: 04/26/11 10:36 AM
To: users_at_subversion.apache.org
Subject: How to create a link that works between OS X and Ubuntu

Hi everyone. I'm developing a program on Ubuntu 10.10. The directory in which my project lives is part of my PATH. The executable that is built is called 'autobot'.

 I type:

 ln autobot a
 a

 (And my program runs correctly).

 svn add a
 svn propset svn:executable ON a
 svn ci -m "Create shortcut"

 Now on my OS X box, with the current directory set to the project directory, and with that directory also being a part of PATH (although it is not named identically to the Ubuntu one), I type:

 svn up
 a

 And I get:

 -bash: /source/Autobot/autobotwiki/a: cannot execute binary file

 ls -l a gives me:

 -rwxrwxrwx 1 richard admin 55295 26 Apr 10:33 a

 The same thing happens if I create the link on OS X and try to run it under Ubuntu. So how do I do this?

 Richard
Received on 2011-04-26 04:38:55 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.