Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shell Script produces Error in Installer, but not in Terminal



#!/bin/tcsh
if test -d "$2/Xkeys.app"; then
mv "$2/Xkeys.app" ~/.Trash/Xkeys.app
fi
exit 0

this looks like sh syntax, try either

#!/bin/sh
or
endif

yves
_______________________________________________
projectbuilder-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/projectbuilder-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Shell Script produces Error in Installer, but not in Terminal (From: David Stark <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.