Permalink
Browse files

bug fix: use the actually files from the export directory when popula…

…ting the src-uri & patch_script files

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
  • Loading branch information...
1 parent 7f541f2 commit 8069c00cd5c53e3756942ac2fcf971a6cd8db47e @RobertCNelson RobertCNelson committed Apr 19, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 patch.sh
View
@@ -93,8 +93,7 @@ fi
# export patches and output SRC_URI for them
for patchset in ${PATCHSET} ; do
- mkdir -p ${EXPORTPATH}
- for patch in $(ls -1 ${PATCHPATH}/$patchset/*.patch | sort -n) ; do
+ for patch in $(ls -1 ${EXPORTPATH}/$patchset/*.patch | sort -n) ; do
patch=${patch##*/}
echo " file://${patchset}/$patch \\" >> ${DIR}/src-uri.txt
echo " git am \"\${DIR}/patches/${patchset}/$patch\"" >> ${DIR}/patch_script.sh

0 comments on commit 8069c00

Please sign in to comment.