]> wimlib.net Git - wimlib/blobdiff - tests/test-imagex-capture_and_apply
Fix sequential extraction, and include progress info
[wimlib] / tests / test-imagex-capture_and_apply
index fcac5cee4a36096ca1b817f178a7a40eb66f76ed..caa4d47ea8abb7b1f12fddf05763fae3a17a1251 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Test capturing and applying a WIM image in the normal (non-NTFS) capture mode
 #
@@ -10,7 +10,8 @@
 
 set -e
 cd tests
-srcdir=..
+srcdir="${srcdir:-.}/.."
+srcdir="$(cd $srcdir; pwd)"
 
 imagex() {
        echo "imagex $@"