Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/doitsujin/dxvk.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Rebohle <philip.rebohle@tu-dortmund.de>2022-12-16 19:15:50 +0300
committerPhilip Rebohle <philip.rebohle@tu-dortmund.de>2022-12-16 19:15:50 +0300
commit6d4161cd6e2bd1a762607c8205fae6a9007448db (patch)
tree1e5d4d5558007acf96b8f9ca51eeffe6ae94f0e4 /package-release.sh
parentc55c09368b8e7d878cbe602b6d380ba0d1e6e1b3 (diff)
[meta] Fix issues with build scripts if there are spaces in the path
Diffstat (limited to 'package-release.sh')
-rwxr-xr-xpackage-release.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/package-release.sh b/package-release.sh
index f614b8a0..0db4fa75 100755
--- a/package-release.sh
+++ b/package-release.sh
@@ -10,7 +10,8 @@ if [ -z "$1" ] || [ -z "$2" ]; then
fi
DXVK_VERSION="$1"
-DXVK_SRC_DIR=`dirname $(readlink -f $0)`
+DXVK_SRC_DIR=$(readlink -f "$0")
+DXVK_SRC_DIR=$(dirname "$DXVK_SRC_DIR")
DXVK_BUILD_DIR=$(realpath "$2")"/dxvk-$DXVK_VERSION"
DXVK_ARCHIVE_PATH=$(realpath "$2")"/dxvk-$DXVK_VERSION.tar.gz"