drupal-docker icon indicating copy to clipboard operation
drupal-docker copied to clipboard

typeset is deprecated

Open Am0rfu5 opened this issue 9 years ago • 3 comments

When running this on OS X the following errors will occur.

typeset: usage: line 83: typeset: -u: invalid option typeset: usage: line 84: typeset: -l: invalid option

Typeset is deprecated. Tried replacing it with declare but got the same error (except it said declare: -u: invalid option).

Am0rfu5 avatar Dec 22 '16 16:12 Am0rfu5

Same problem here, any solution on this?

nimoatwoodway avatar Dec 11 '17 13:12 nimoatwoodway

Same here, anyone solved it?

hopewise avatar Jan 25 '18 05:01 hopewise

Remove both lines with typeset and also the for...each block afterwards and just replace it with:

export PHP_IP=${subnet}.100 export PHP_DOMAIN=php.${domain} export WWW_IP=${subnet}.101 export WWW_DOMAIN=www.${domain} export DB_IP=${subnet}.102 export DB_DOMAIN=db.${domain} export MAIL_IP=${subnet}.103 export MAIL_DOMAIN=mail.${domain} export PMA_IP=${subnet}.104 export PMA_DOMAIN=pma.${domain}

CountCount avatar Sep 04 '18 10:09 CountCount