Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/patch/binutils-patch.sh

    r4261659 r914669c  
    1616fi
    1717
    18 #
     18# Set Patch Directory
     19#
     20PATCH_DIR=$(pwd -P)/binutils
     21 
    1922# Download Binutils Source
    2023#
     
    111114#
    112115cd ~/tmp
    113 if [ -e ${PATCH_DIR}/${VERSION} ]; then
     116if [ -e ${PATCH_DIR}/${SOURCEVERSION} ]; then
    114117  rm -rf binutils-${SOURCEVERSION}.orig
    115118  cp -ar binutils-${SOURCEVERSION} binutils-${SOURCEVERSION}.orig
     
    118121  #
    119122  cd ~/tmp/binutils-${SOURCEVERSION}
    120   PATCH_FILES=$(ls ${PATCH_DIR}/${VERSION}/*.patch)
     123  PATCH_FILES=$(ls ${PATCH_DIR}/${SOURCEVERSION}/*.patch)
    121124  if [ "${PATCH_FILES}" != "" ]; then
    122125    for pfile in ${PATCH_FILES}; do
Note: See TracChangeset for help on using the changeset viewer.