Two hours ago, Stephen De Gabrielle wrote: > > #!/bin/sh > # used example http://hayne.net/MacDev/Bash/make_alias > # thanks to authors > # Cameron Hayne (mac...@hayne.net), December 2003 > # Paul Russell (pruss...@sonic.net), May 2006 > > /usr/bin/osascript > /dev/null <<EOT > tell application "Finder" > set Src to POSIX file "/Applications" as text > set Dest to POSIX file > "/Users/spdegabrielle/Documents/Development/make alias test" as text > make new alias file to Src at folder Dest > end tell > EOT
This doesn't work, because it requires the Finder to be running. (For the build user.) I just tried it, and I get: 124:165: execution error: An error of type -10810 has occurred. (-10810) And a quick search shows that this is indeed the problem: http://stackoverflow.com/questions/5088872 -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev