[root@bogon apache-maven-3.6.0]# . /etc/profile
-bash: export: `=': not a valid identifier
-bash: export: `/root/apache-maven-3.6.0': not a valid identifier
-bash: export: `=': not a valid identifier
-bash: export: `/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75.x86_64/bin:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75.x86_64/jre/bin:/root/bin:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75.x86_64/bin:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75.x86_64/jre/bin': not a valid identifier
[root@bogon apache-maven-3.6.0]# vi /etc/profile
[root@bogon apache-maven-3.6.0]# . /etc/profile
-bash: export: `=': not a valid identifier
-bash: export: `/root/apache-maven-3.6.0': not a valid identifier
-bash: export: `=': not a valid identifier
-bash: export: `/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75.x86_64/bin:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75.x86_64/jre/bin:/root/bin:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75.x86_64/bin:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75.x86_64/jre/bin:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75.x86_64/bin:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75.x86_64/jre/bin': not a valid identifier
/etc/profile 中的maven路径中配置了空格