mirror of
https://github.com/nvm-sh/nvm.git
synced 2026-11-21 00:32:53 +03:00
also: `nvm_get_os`: set `NVM_DIR` in the OpenHarmony chroots, and skip them without a glibc x86-64 layout `sudo` resets the environment, and `nvm.sh` returns early when it cannot detect `NVM_DIR`, so in the chroots `nvm_get_os` was undefined and every check got an empty result. The chroot setup needs `ldd` and `/lib64/ld-linux-x86-64.so.2`, which macOS does not have. Co-authored-by: hqzing <hqzing@outlook.com> Co-authored-by: Jordan Harband <ljharb@gmail.com>
4 lines
113 B
Plaintext
Executable File
4 lines
113 B
Plaintext
Executable File
if [ "$#" -eq 2 ] && [ "$1" = "get" ] && [ "$2" = "const.ohos.fullname" ]; then
|
|
echo "NotOpenHarmony-1.2.3"
|
|
fi
|