在我更换主板/CPU 之前一切正常,但我不确定错误消息的含义。
运行安装命令后
/bin/sh -c "$(curl -fsS https://install.airshipcms.io)"
我的 windows ubuntu bash shell 返回了
Starting Airship Launcher installation for ubuntu Linux64
Will install version 2.1.1
Downloading https://install.airshipcms.io/Linux64/airship-2.1.1.tar.bz2
To /tmp/AirshipLauncher.65/airship-2.1.1.tar.bz2
Added ~/.airship-bin to $PATH in ~/.profile
/bin/sh: 504: export: (x86)/Intel/iCLS: bad variable name
我的猜测是因为我已经安装了 mobo/cpu 的预升级变量名称已经在 ~/.profile 中了?我不确定如何编辑它,当我运行 cat ~/.profile 时,它呈现了一堆不可读的字符。 谢谢。
编辑:我已经尝试重新安装我的 linux shell,但无济于事。
最佳答案
好的,所以修复是用 bash 替换 sh,这样工作命令是
/bin/bash -c "$(curl -fsS https://install.airshipcms.io)"
归功于这个人 https://github.com/probonopd/PowerShell/commit/2441d99a7405b488dc9289789edb636dc2cdcdfc
关于linux - Windows Linux Bash 运行时错误的变量名称/bin/sh -c "$(curl -fsS https://install.airshipcms.io)",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44481861/