qq_跟著感覺走_2
2018-12-14 16:33
[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路径中配置了空格
用Jenkins自动化搭建测试环境
37385 学习 · 236 问题
相似问题