aboutsummaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2016-11-05 12:45:47 -0500
committerBrent Cook <bcook@openbsd.org>2016-11-05 12:45:47 -0500
commita99a3d728754a8d507848cecfa96b02dc0e5f104 (patch)
tree8e415911deadda8ed3c43dca6038c53e7bcded50 /update.sh
parent42ee57590a73e25c5ccaf680113f6ed2a3b8a667 (diff)
downloadportable-a99a3d728754a8d507848cecfa96b02dc0e5f104.tar.gz
portable-a99a3d728754a8d507848cecfa96b02dc0e5f104.tar.bz2
portable-a99a3d728754a8d507848cecfa96b02dc0e5f104.zip
add quoting for man links
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/update.sh b/update.sh
index 0a00c75..e7e8fd5 100755
--- a/update.sh
+++ b/update.sh
@@ -295,7 +295,7 @@ add_man_links() {
295 for i in `grep $filter man/links`; do 295 for i in `grep $filter man/links`; do
296 IFS=","; set $i; unset IFS 296 IFS=","; set $i; unset IFS
297 if [ "$2" != "" ]; then 297 if [ "$2" != "" ]; then
298 echo " ln -sf $1 \$(DESTDIR)\$(mandir)/man3/$2" >> $dest 298 echo " ln -sf \"$1\" \"\$(DESTDIR)\$(mandir)/man3/$2\"" >> $dest
299 fi 299 fi
300 done 300 done
301 echo "" >> $dest 301 echo "" >> $dest
@@ -303,7 +303,7 @@ add_man_links() {
303 for i in `grep $filter man/links`; do 303 for i in `grep $filter man/links`; do
304 IFS=","; set $i; unset IFS 304 IFS=","; set $i; unset IFS
305 if [ "$2" != "" ]; then 305 if [ "$2" != "" ]; then
306 echo " -rm -f \$(DESTDIR)\$(mandir)/man3/$2" >> $dest 306 echo " -rm -f \"\$(DESTDIR)\$(mandir)/man3/$2\"" >> $dest
307 fi 307 fi
308 done 308 done
309} 309}