AS and shell
AS and shell
- Subject: AS and shell
- From: Jay Louvion <email@hidden>
- Date: Thu, 30 Nov 2006 14:28:50 +0100
- Thread-topic: AS and shell
Title: AS and shell
Hi all, I’m trying to script a shell that includes variables as follows:
#!/bin/sh
export PATH="/opt/darwinports/bin:/bin:/sbin:/usr/bin:/usr/sbin"
id >> "$1/buildimage.log"
date >> "$1/buildimage.log"
rm -rf "$3"
dvdauthor -o "$3" -x "$2" 2>> "$1/buildimage.log"
mkisofs -dvd-video -o "$1/$5.iso" -volid "$5 DVD" "$3" "$4" 2>> "$1/buildimage.log"
rm -rf "$3"
Until now I have been able to get the variables ($1,$2,etc.) all right by “quoted forms of their POSIX paths”, but I don’t know how I can integrate the line breaks there are in this shell in the “do shell” command. Help anyone ?
Best,
j.
Jay Louvion
Studio Casagrande
3, rue Müller-Brun
1208 Geneva
T+4122 840 3272
F+4122 840 3271
skypeme:
jaylouvion
www.studiocasagrande.com
P Please consider the environment before printing this email.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden