Changeset 2803d79 for scripts


Ignore:
Timestamp:
Jan 8, 2009, 9:00:48 PM (16 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
43c52a1
Parents:
7a109d08
Message:

Fixes to Patch Creaters

Location:
scripts/patch
Files:
5 edited

Legend:

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

    r7a109d08 r2803d79  
    8383for dir in $(find * -type d); do
    8484        cd /usr/src/bash-${VERSION}/${dir}
    85         for file in $(find * -name *~); do
     85        for file in $(find . -name '*~'); do
    8686                rm -f ${file}
    8787        done
    88         for file in $(find * -name *.orig); do
     88        for file in $(find . -name '*.orig'); do
    8989                rm -f ${file}
    9090        done
    9191done
    9292cd /usr/src/bash-${VERSION}
    93 rm -f *.orig *~
     93rm -f *~ *.orig
    9494
    9595# Create Patch
  • scripts/patch/binutils-patch.sh

    r7a109d08 r2803d79  
    5959for dir in $(find * -type d); do
    6060        cd /usr/src/binutils-${VERSION}
    61         for file in $(find * -name *~); do
     61        for file in $(find . -name '*~'); do
    6262                rm -f ${file}
    6363        done
    64         for file in $(find * -name *.orig); do
     64        for file in $(find . -name '*.orig'); do
    6565                rm -f ${file}
    6666        done
    6767done
    6868cd /usr/src/binutils-${VERSION}
    69 rm -f *.orig *~
     69rm -f *~ *.orig
    7070rm -f /usr/src/binutils-${VERSION}.orig/md5.sum
    7171
  • scripts/patch/ncurses-patch.sh

    r7a109d08 r2803d79  
    8080for dir in $(find * -type d); do
    8181        cd /usr/src/ncurses-${VERSION}/${dir}
    82         for file in $(find * -name *~); do
     82        for file in $(find . -name '*~'); do
    8383                rm -f ${file}
    8484        done
    85         for file in $(find * -name *.orig); do
     85        for file in $(find . -name '*.orig'); do
    8686                rm -f ${file}
    8787        done
    8888done
    8989cd /usr/src/ncurses-${VERSION}
    90 rm -f *.orig *~
     90rm -f *~ *.orig
    9191
    9292# Create Patch
  • scripts/patch/readline-patch.sh

    r7a109d08 r2803d79  
    8484for dir in $(find * -type d); do
    8585        cd /usr/src/readline-${VERSION}/${dir}
    86         for file in $(find * -name *~); do
     86        for file in $(find . -name '*~'); do
    8787                rm -f ${file}
    8888        done
    89         for file in $(find * -name *.orig); do
     89        for file in $(find . -name '*.orig'); do
    9090                rm -f ${file}
    9191        done
    9292done
    9393cd /usr/src/readline-${VERSION}
    94 rm -f *.orig *~
     94rm -f *~ *.orig
    9595
    9696# Create Patch
  • scripts/patch/vim-patch.sh

    r7a109d08 r2803d79  
    8080# Cleanup Directory
    8181#
    82 # Cleanup Directory
    83 #
    8482for dir in $(find * -type d); do
    85         cd /usr/src/vim${SERIES}/${dir}
    86         for file in $(find * -name *~); do
     83        cd /usr/src/vim${SERIES}
     84        for file in $(find . -name '*~'); do
    8785                rm -f ${file}
    8886        done
    89         for file in $(find * -name *.orig); do
     87        for file in $(find . -name '*.orig'); do
    9088                rm -f ${file}
    9189        done
    9290done
    9391cd /usr/src/vim${SERIES}
    94 rm -f *.orig *~
     92rm -f *~ *.orig
    9593
    9694# Create Patch
Note: See TracChangeset for help on using the changeset viewer.