From: John Voltz Date: Tue, 11 Mar 2008 13:14:26 +0000 (-0000) Subject: fixed typo in script X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=80954d271151e906f0f4370c7e121827fd4ca81f;p=buildroot.git fixed typo in script --- diff --git a/scripts/copy.sh b/scripts/copy.sh index 613c4dd0ab..410606d5ad 100755 --- a/scripts/copy.sh +++ b/scripts/copy.sh @@ -11,7 +11,7 @@ for LIBSDIR in /lib /usr/lib; do for WILDCARD in *.a *.la; do for FILE_PATH in `find ${STAGING_DIR}${LIBSDIR} -name ${WILDCARD}`; do STAGING_STRIPPED=${FILE_PATH##${STAGING_DIR}} - EXTENDED_DIR=${PATH_FILE%/${WILDCARD}} + EXTENDED_DIR=${STAGING_STRIPPED%/${WILDCARD}} mkdir -p ${TARGET_DIR}${EXTENDED_DIR} cp ${FILE_PATH} ${TARGET_DIR}${STAGING_STRIPPED} #echo ${TARGET_DIR}${STAGING_STRIPPED}