source: freewrt/tools/ipkg-utils/patches/ipkg-utils-1.7-ipkg_build_clean.patch@ 2f1a2c9

freewrt_1_0 freewrt_2_0
Last change on this file since 2f1a2c9 was 131a9d7, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

move tools like sed, trx, lzma, which does not belong to the toolchain (gcc,binutils,gdb,libc) to a separate directory, all stuff is compiled with the host compiler

git-svn-id: svn://www.freewrt.org/trunk/freewrt@194 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1020 bytes
  • ipkg-utils-1.

    diff -ruN ipkg-utils-1.7-old/ipkg-build ipkg-utils-1.7-new/ipkg-build
    old new  
    4747
    4848        PKG_ERROR=0
    4949
     50        cvs_dirs=`find . -name 'CVS'`
     51        if [ -n "$cvs_dirs" ]; then
     52            if [ "$noclean" = "1" ]; then
     53                echo "*** Warning: The following CVS directories where found.
     54You probably want to remove them: " >&2
     55                ls -ld $cvs_dirs
     56                echo >&2
     57            else
     58                echo "*** Removing the following files: $cvs_dirs"
     59                rm -rf "$cvs_dirs"
     60            fi
     61        fi
     62
    5063        tilde_files=`find . -name '*~'`
    5164        if [ -n "$tilde_files" ]; then
    5265            if [ "$noclean" = "1" ]; then
     
    134147
    135148        for script in $CONTROL/preinst $CONTROL/postinst $CONTROL/prerm $CONTROL/postrm; do
    136149                if [ -f $script -a ! -x $script ]; then
     150                    if [ "$noclean" = "1" ]; then
    137151                        echo "*** Error: package script $script is not executable" >&2
    138152                        PKG_ERROR=1
     153                    else
     154                        chmod a+x $script
     155                    fi
    139156                fi
    140157        done
    141158
Note: See TracBrowser for help on using the repository browser.