Re: porting code from project builder to xcode
Re: porting code from project builder to xcode
- Subject: Re: porting code from project builder to xcode
- From: Markus Hitter <email@hidden>
- Date: Sat, 15 Nov 2003 09:18:07 +0100
Am 14.11.2003 um 19:36 schrieb Timothy Standing:
- All of the scripts I use for building different versions of the
SoftRAID (i.e.: debug, release, end-user demo) had to be rewritten to
run in bash. Solution: go to http://www.gnu.org/manual/bash-2.05a/ to
read up on how bash works. This took me a day as I had no prior
experience with bash.
Well, convention is, the first line of a script tells which interpreter
to use. If the first line of your script reads
#!/bin/csh
the C Shell will be used to read your script regardless of what the
default shell is. No need for a rewrite at all. Works even for
non-shell commands like perl, awk, sed, etc. and you can pass
parameters to the command invocation as well.
If you didn't use script files but edited commands directly in PB, you
could simply prefix the commands with a "csh" to run the C Shell inside
bash.
HTH, even if a little late,
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.