
01-03-2009
|
|
Registered User
|
|
|
Join Date: May 2008
Location: Chicago
Posts: 31
|
|
Quote:
Originally Posted by cfajohnson
Did you run the script? If you did you would have received error messages telling you what and where the errors were.
i did, but didn't get any errors.
When posting code, please put it in [code] tags.
d'oh! forgot about that.
[[ -e ... ]] is not standard and, in this case, offers nothing over the standard [ -e ... ].
okay, was not aware of that. thank you.
There's an obvious mistake. Why are you using command substitution when the variable does not contain a command?
|
typo, i forgot the 'ls' in there.
|