mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[meta] Fix issues with build scripts if there are spaces in the path
This commit is contained in:
parent
c55c09368b
commit
6d4161cd6e
2 changed files with 4 additions and 2 deletions
|
@ -10,7 +10,8 @@ if [ -z "$1" ] || [ -z "$2" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DXVK_VERSION="$1"
|
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_BUILD_DIR=$(realpath "$2")"/dxvk-native-$DXVK_VERSION"
|
||||||
DXVK_ARCHIVE_PATH=$(realpath "$2")"/dxvk-native-$DXVK_VERSION.tar.gz"
|
DXVK_ARCHIVE_PATH=$(realpath "$2")"/dxvk-native-$DXVK_VERSION.tar.gz"
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,8 @@ if [ -z "$1" ] || [ -z "$2" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DXVK_VERSION="$1"
|
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_BUILD_DIR=$(realpath "$2")"/dxvk-$DXVK_VERSION"
|
||||||
DXVK_ARCHIVE_PATH=$(realpath "$2")"/dxvk-$DXVK_VERSION.tar.gz"
|
DXVK_ARCHIVE_PATH=$(realpath "$2")"/dxvk-$DXVK_VERSION.tar.gz"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue