summaryrefslogtreecommitdiffstats
path: root/dev-tools
diff options
context:
space:
mode:
authortorben2016-03-24 16:53:56 +0100
committertorben2016-03-24 16:53:56 +0100
commita88f81bfd2044ad2c5bf0e262fca46a00fa72768 (patch)
tree76c60ae75f55b99492cd190c525088916cdd48a0 /dev-tools
parentAdding dummy dracut module. (diff)
downloadsystemd-init-a88f81bfd2044ad2c5bf0e262fca46a00fa72768.tar.gz
systemd-init-a88f81bfd2044ad2c5bf0e262fca46a00fa72768.tar.xz
systemd-init-a88f81bfd2044ad2c5bf0e262fca46a00fa72768.zip
Fix.
Diffstat (limited to 'dev-tools')
-rwxr-xr-xdev-tools/exampleDracutModule/module-setup.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-tools/exampleDracutModule/module-setup.sh b/dev-tools/exampleDracutModule/module-setup.sh
index 6a0fe8f5..bfe216e7 100755
--- a/dev-tools/exampleDracutModule/module-setup.sh
+++ b/dev-tools/exampleDracutModule/module-setup.sh
@@ -1,7 +1,8 @@
#!/usr/bin/env bash
# -*- coding: utf-8 -*-
-source "$(dirname "${BASH_SOURCE[0]}")/../dnbd3-rootfs/scripts/rebash/core.sh"
+source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && cd '../' && \
+ cd *'dnbd3-rootfs/scripts/rebash' && pwd)/core.sh"
core.import exceptions
core.import logging