From bbec02be14102e0d7a56ab8e7e0630490851381b Mon Sep 17 00:00:00 2001 From: mattias Date: Tue, 15 Jun 2010 18:14:00 +0000 Subject: [PATCH] tools: create_fpc_deb.sh: handling spaces in file names git-svn-id: trunk@26134 - --- tools/install/create_fpc_deb.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/install/create_fpc_deb.sh b/tools/install/create_fpc_deb.sh index fe5e87b021..23ce4288bc 100755 --- a/tools/install/create_fpc_deb.sh +++ b/tools/install/create_fpc_deb.sh @@ -331,8 +331,8 @@ fi # fixing permissions echo "fixing permissions ..." -find $FPCBuildDir -type d | xargs -d '\n' chmod 755 # this is needed, don't ask me why -find $FPCBuildDir -type f | xargs -d '\n' chmod a+r # this is needed, don't ask me why +find $FPCBuildDir -type d -print0 | xargs -0 chmod 755 # this is needed, don't ask me why +find $FPCBuildDir -type f -print0 | xargs -0 chmod a+r # this is needed, don't ask me why #------------------------------------------------------------------------------ # creating deb