From: Roland Haeder Date: Thu, 18 Aug 2016 17:41:17 +0000 (+0200) Subject: Wrap in nice double-quotes X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b0cba8c57f7d50c2204fbb6f07c64e8a2b074843;p=jprojects-scripts.git Wrap in nice double-quotes Signed-off-by: Roland Haeder --- diff --git a/cp-libs.sh b/cp-libs.sh index c3d5dd7..93837cd 100755 --- a/cp-libs.sh +++ b/cp-libs.sh @@ -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