fixed typo in script
authorJohn Voltz <john.voltz@gmail.com>
Tue, 11 Mar 2008 13:14:26 +0000 (13:14 -0000)
committerJohn Voltz <john.voltz@gmail.com>
Tue, 11 Mar 2008 13:14:26 +0000 (13:14 -0000)
scripts/copy.sh

index 613c4dd0abf0b50f5f706d1fdc50c522e92dec9e..410606d5adaaa3672872fa728981538981456cff 100755 (executable)
@@ -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}