The Samba-Bugzilla – Attachment 3553 Details for
Bug 5742
Build system: Uninstallation and other improvements
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
This should fix up the problems related to the uninstallation of the headers
buildHeaders.patch (text/plain), 927 bytes, created by
Matthias Dieter Wallnöfer
on 2008-09-10 16:56:47 UTC
(
hide
)
Description:
This should fix up the problems related to the uninstallation of the headers
Filename:
MIME Type:
Creator:
Matthias Dieter Wallnöfer
Created:
2008-09-10 16:56:47 UTC
Size:
927 bytes
patch
obsolete
>diff --git a/source/script/uninstallheader.sh b/source/script/uninstallheader.sh >index cb491f0..55f14ed 100755 >--- a/source/script/uninstallheader.sh >+++ b/source/script/uninstallheader.sh >@@ -12,17 +12,18 @@ if [ ! -d $INCLUDEDIR ]; then > fi > > for p in $*; do >- p2=`basename $p` >- if [ -f $INCLUDEDIR/$p2 ]; then >- echo Removing $INCLUDEDIR/$p2 >- rm -f $INCLUDEDIR/$p2 >- if [ -f $INCLUDEDIR/$p2 ]; then >- echo Cannot remove $INCLUDEDIR/$p2 ... does $USER have privileges? >+ headers=`basename $p | xargs find $INCLUDEDIR -name ` >+ for p2 in $headers; do >+ if [ -f $p2 ]; then >+ echo Removing $p2 >+ rm -f $p2 >+ if [ -f $p2 ]; then >+ echo Cannot remove $p2 ... does $USER have privileges? >+ fi > fi >- fi >+ done > done > >- > cat << EOF > ====================================================================== > The headers have been uninstalled. You may restore the headers using
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 5742
:
3552
|
3553
|
3565
|
3567
|
3609
|
3626
|
3643
|
3645