X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=tests%2Ftest-imagex-capture_and_apply;h=00090281f378ab1b544c1191da182505293628f0;hb=c3ef484d402e49ae76c562ce77b81a5d6dcd8029;hp=08fe6f623c3b6bf4b0a7faaef4b6cb4b02021c6f;hpb=f4a194333c5856d466d096c306f709edd19d1cc8;p=wimlib diff --git a/tests/test-imagex-capture_and_apply b/tests/test-imagex-capture_and_apply index 08fe6f62..00090281 100755 --- a/tests/test-imagex-capture_and_apply +++ b/tests/test-imagex-capture_and_apply @@ -9,9 +9,9 @@ # Also, test if the capture configuration file works correctly. set -e -srcdir=${srcdir:-.} -srcdir=`realpath $srcdir` cd tests +srcdir="${srcdir:-.}/.." +srcdir="$(cd $srcdir; pwd)" imagex() { echo "imagex $@"