loadEnv.sh 166 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 #!/bin/bash if [[ -z "${AMDA_IHM}" ]]; then echo "[ERROR] AMDA_IHM not defined" fi if [ ! -z "$AMDA_IHM" ]; then eval $(php "$AMDA_IHM/php/getEnv.php") fi