summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/copy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/copy.sh b/scripts/copy.sh
index 613c4dd0a..410606d5a 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}