diff --git a/tools/update_stylesheets.sh b/tools/update_stylesheets.sh index 5cc927b5b2..1be6c4e09c 100755 --- a/tools/update_stylesheets.sh +++ b/tools/update_stylesheets.sh @@ -29,7 +29,7 @@ makefile="/tmp/makefile-${pid}" | tr '\t\r\n' ' ' \ | sed -r 's/(]*>)/\n\1\n/g' \ | sed -rn '/]*>/s/^.*href *= *"([^"]*)".*$/\1/gp' \ - | xargs -I'{}' realpath "$(dirname ${xsl_file})/{}" \ + | xargs -I'{}' realpath --relative-to="." "$(dirname ${xsl_file})/{}" \ )) if [ -n "${prerequisites}" ]; then echo "all: ${xsl_file}"