← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 881500] Re: package nvidia-current 270.41.06-0ubuntu1 failed to install/upgrade: nvidia-current kernel module failed to build [./conftest.sh: syntax error at line 1418: `(' unexpected]

 

Okay, THIS problem is that conftest.sh has bash syntax, eg line 1418 et
seq is as below: the makefile runs it with sh however (and /bin/sh is
linked to dash) ergo the syntax error.


    suser_sanity_check)
        #
        # Determine the caller's user id to determine if we have sufficient
        # privileges for the requested operation.
        #
        if [ $(id -ur) != 0 ]; then
            echo "";
            echo "Please run \"make install\" as root.";
            echo "";
            echo "*** Failed super-user sanity check. Bailing out! ***";
            exit 1
        else
            exit 0
        fi
        ;;

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-graphics-drivers in Ubuntu.
https://bugs.launchpad.net/bugs/881500

Title:
  package nvidia-current 270.41.06-0ubuntu1 failed to install/upgrade:
  nvidia-current kernel module failed to build [./conftest.sh: syntax
  error at line 1418: `(' unexpected]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/881500/+subscriptions


References