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=cd4deb5cb603507c66bbc697f2836addb5e44c8c;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