diff options
author | Jonathan Bauer | 2018-08-09 13:16:49 +0200 |
---|---|---|
committer | Jonathan Bauer | 2018-08-09 13:16:49 +0200 |
commit | 4e5f41477fd999273215dc4b100487f05759cc12 (patch) | |
tree | b2653e72d23925569058f2400e09a6c76f8e3b6c | |
parent | fix bad directory stack during dnbd3 build (diff) | |
download | systemd-init-4e5f41477fd999273215dc4b100487f05759cc12.tar.gz systemd-init-4e5f41477fd999273215dc4b100487f05759cc12.tar.xz systemd-init-4e5f41477fd999273215dc4b100487f05759cc12.zip |
use absolute path for root directory
-rwxr-xr-x | builder/build-initramfs.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builder/build-initramfs.sh b/builder/build-initramfs.sh index d8835449..679b5cdc 100755 --- a/builder/build-initramfs.sh +++ b/builder/build-initramfs.sh @@ -21,7 +21,7 @@ # Note that you only get very necessary output until you provide "--verbose" as # commandline options. -declare -rg _root_dir="$(dirname "${BASH_SOURCE[0]}")" +declare -rg _root_dir="$(readlink -f $(dirname ${BASH_SOURCE[0]}))" ## region ensure presence of needed dependencies set -o errexit _needed_location="${_root_dir}/modules.d" |