source:
freewrt/tools/ipkg-utils/patches/ipkg-utils-1.7-ipkg_build_clean.patch@
2f1a2c9
| Last change on this file since 2f1a2c9 was 131a9d7, checked in by , 19 years ago | |
|---|---|
|
|
| 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 47 47 48 48 PKG_ERROR=0 49 49 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. 54 You 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 50 63 tilde_files=`find . -name '*~'` 51 64 if [ -n "$tilde_files" ]; then 52 65 if [ "$noclean" = "1" ]; then … … 134 147 135 148 for script in $CONTROL/preinst $CONTROL/postinst $CONTROL/prerm $CONTROL/postrm; do 136 149 if [ -f $script -a ! -x $script ]; then 150 if [ "$noclean" = "1" ]; then 137 151 echo "*** Error: package script $script is not executable" >&2 138 152 PKG_ERROR=1 153 else 154 chmod a+x $script 155 fi 139 156 fi 140 157 done 141 158
Note:
See TracBrowser
for help on using the repository browser.
