---
builder/test-virt-builder-list.sh | 4 ++--
builder/test-virt-builder.sh | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/builder/test-virt-builder-list.sh b/builder/test-virt-builder-list.sh
index 11305a9..ff16abe 100755
--- a/builder/test-virt-builder-list.sh
+++ b/builder/test-virt-builder-list.sh
@@ -21,9 +21,9 @@
export LANG=C
set -e
-abs_srcdir=$(cd $srcdir && pwd)
+abs_builddir=$(pwd)
-export VIRT_BUILDER_SOURCE=file://$abs_srcdir/test-index
+export VIRT_BUILDER_SOURCE=file://$abs_builddir/test-index
short_list=$($VG ./virt-builder --no-check-signature --no-cache --list)
diff --git a/builder/test-virt-builder.sh b/builder/test-virt-builder.sh
index 6296d16..438f2e9 100755
--- a/builder/test-virt-builder.sh
+++ b/builder/test-virt-builder.sh
@@ -19,9 +19,9 @@
export LANG=C
set -e
-abs_srcdir=$(cd $srcdir && pwd)
+abs_builddir=$(pwd)
-export VIRT_BUILDER_SOURCE=file://$abs_srcdir/test-index
+export VIRT_BUILDER_SOURCE=file://$abs_builddir/test-index
if [ ! -f fedora.xz ]; then
echo "$0: test skipped because there is no fedora.xz in the build
directory"
--
1.8.5.1