Wrap in nice double-quotes
authorRoland Haeder <roland@mxchange.org>
Thu, 18 Aug 2016 17:41:17 +0000 (19:41 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 18 Aug 2016 17:41:17 +0000 (19:41 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
cp-libs.sh

index c3d5dd7..93837cd 100755 (executable)
@@ -12,8 +12,8 @@ fi
 
 for lib in ${LIBS}; do
        echo "$0: Copying lib '${lib}' ..."
-       find */lib/${lib##*/} -exec cp ${lib} {} \;
-       find */dist/${lib##*/} -exec cp ${lib} {} \;
+       find */lib/${lib##*/} -exec cp "${lib}" {} \;
+       find */dist/${lib##*/} -exec cp "${lib}" {} \;
        rm -f "${lib}"
 done