mirror of
https://github.com/KhronosGroup/KTX-Software.git
synced 2026-01-18 17:41:19 +01:00
mkversion fix: make RE treat $(pwd) value literally. (#1088)
Fixes #1084.
This commit is contained in:
@@ -160,7 +160,7 @@ if [ $write_all -eq 1 ]; then
|
||||
fi
|
||||
done
|
||||
else
|
||||
if [[ $workdir =~ $(pwd)(/(.*$)?)? ]]; then
|
||||
if [[ $workdir =~ "$(pwd)"(/(.*$)?)? ]]; then
|
||||
# Trailing part of workdir gives object location in repo.
|
||||
if [ -n "${BASH_REMATCH[2]}" ]; then
|
||||
if [ "$OBJ" == "." ]; then
|
||||
|
||||
Reference in New Issue
Block a user