diff options
author | Philip Rebohle <philip.rebohle@tu-dortmund.de> | 2022-12-16 19:15:50 +0300 |
---|---|---|
committer | Philip Rebohle <philip.rebohle@tu-dortmund.de> | 2022-12-16 19:15:50 +0300 |
commit | 6d4161cd6e2bd1a762607c8205fae6a9007448db (patch) | |
tree | 1e5d4d5558007acf96b8f9ca51eeffe6ae94f0e4 /package-native.sh | |
parent | c55c09368b8e7d878cbe602b6d380ba0d1e6e1b3 (diff) |
[meta] Fix issues with build scripts if there are spaces in the path
Diffstat (limited to 'package-native.sh')
-rwxr-xr-x | package-native.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package-native.sh b/package-native.sh index cdb88b5e..3ef65943 100755 --- a/package-native.sh +++ b/package-native.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-native-$DXVK_VERSION" DXVK_ARCHIVE_PATH=$(realpath "$2")"/dxvk-native-$DXVK_VERSION.tar.gz" |