protect against possible spaces in the paths

Tue, 28 Oct 2025 21:24:49 +0100

author
Mike Becker <universe@uap-core.de>
date
Tue, 28 Oct 2025 21:24:49 +0100
changeset 1458
053230cb6cfd
parent 1457
2e59f713c107
child 1459
22923f0b3dbb

protect against possible spaces in the paths

make/install-pc-file.sh file | annotate | diff | comparison | revisions
--- a/make/install-pc-file.sh	Tue Oct 28 21:22:06 2025 +0100
+++ b/make/install-pc-file.sh	Tue Oct 28 21:24:49 2025 +0100
@@ -5,11 +5,11 @@
   exit 1
 fi
 
-version=$1
-libdir=$2
-includedir=$3
+version="$1"
+libdir="$2"
+includedir="$3"
 
-cat << EOF > $libdir/pkgconfig/ucx.pc
+cat << EOF > "$libdir/pkgconfig/ucx.pc"
 libdir=$libdir
 includedir=$includedir
 

mercurial