diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..183d9ff499b552822997b10a98eeb36611baa6f5 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,3 @@ +test: + script: + - /bin/true diff --git a/kerninst b/kerninst index 19a50142cfd956ff8999b2b5df662037a2728a90..91fb6a88e216ea27a59f794afd875a0857854cf8 100644 --- a/kerninst +++ b/kerninst @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright © 2016-2017 Canek Peláez Valdés +# Copyright © 2016-2019 Canek Peláez Valdés # Kerninst is free software: you can redistribute it and/or modify it under the # terms of the GNU General Public License as published by the Free Software @@ -68,7 +68,7 @@ if [ ! -d "/usr/src/${KERNEL_DIR}" ] || [ ! -f "/usr/src/${KERNEL_DIR}/Makefile" fi # Get kernel version from symbolic link -KERNEL_VERSION=$(readlink /usr/src/linux | sed "s/^linux-//g") +KERNEL_VERSION=$(readlink "/usr/src/linux" | sed "s/^linux-//g") # Check for a valid kernel version if [ "${KERNEL_VERSION}" == "" ] || [[ "${KERNEL_VERSION}" =~ \ |\' ]]; then