X-Git-Url: https://git.mxchange.org/?p=jprojects-scripts.git;a=blobdiff_plain;f=cp-libs.sh;h=93837cdb3c73c3a4185fb6b8cbb50be0ec75a908;hp=df7b4118b9717e6f9c3f84fd8de8d76422f111fd;hb=2d1c7a86f55775c9c4aed22f7c0b7a997f9d8228;hpb=63d9b0f8dfb38fe806c21df0724baa77739cff1c diff --git a/cp-libs.sh b/cp-libs.sh index df7b411..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} {} | exit 255 \; + find */lib/${lib##*/} -exec cp "${lib}" {} \; + find */dist/${lib##*/} -exec cp "${lib}" {} \; rm -f "${lib}" done