编译海思平台模块时Makefile出现错误:pushd命令找不到

ubuntu由于使用了/bin/sh 导致找不到pushd命令

ubuntu由于使用了/bin/sh 导致找不到pushd命令

切换回/bin/bash即可,但是我在shell中声明#!/bin/bash还是继续报错

看到一句解释如下:

   This has to do with /bin/sh being linked to /bin/dash instead of /bin/bash in ubuntu’s    latest releases. To fix it once and for all do the following:

使用下面的方法,让ubuntu默认用/bin/bash

   # rm -f /bin/sh

   # ln -s /bin/bash /bin/sh

编译海思平台模块时Makefile出现错误:pushd命令找不到

ubuntu由于使用了/bin/sh 导致找不到pushd命令

ubuntu由于使用了/bin/sh 导致找不到pushd命令

切换回/bin/bash即可,但是我在shell中声明#!/bin/bash还是继续报错

看到一句解释如下:

   This has to do with /bin/sh being linked to /bin/dash instead of /bin/bash in ubuntu’s    latest releases. To fix it once and for all do the following:

使用下面的方法,让ubuntu默认用/bin/bash

   # rm -f /bin/sh

   # ln -s /bin/bash /bin/sh

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-20
  • 2022-12-23
  • 2021-07-02
  • 2022-12-23
  • 2021-10-10
猜你喜欢
  • 2022-12-23
  • 2021-06-27
  • 2021-08-11
  • 2022-12-23
  • 2022-12-23
  • 2021-11-16
  • 2021-12-27
相关资源
相似解决方案