[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cups-commit
Subject:    [cups.commit] [CUPS] r8688 - trunk
From:       cups-dev () easysw ! com
Date:       2009-05-27 16:42:41
Message-ID: 9457-cups.commit () news ! easysw ! com
[Download RAW message or body]

Author: mike
Date: 2009-05-27 09:42:40 -0700 (Wed, 27 May 2009)
New Revision: 8688
Log:
Strip before chmod.


Modified:
   trunk/install-sh

Modified: trunk/install-sh
===================================================================
--- trunk/install-sh	2009-05-26 23:45:30 UTC (rev 8687)
+++ trunk/install-sh	2009-05-27 16:42:40 UTC (rev 8688)
@@ -209,11 +209,11 @@
 	# Update permissions and strip as needed, then move to the final name.
 	# If the chmod, strip, rm, or mv commands fail, remove the installed
 	# file...
+	if [ x"$stripcmd" != x ]; then $doit $stripcmd $stripopt "$dsttmp" || echo \
"warning: Unable to strip $dst!"; fi  if [ x"$chowncmd" != x ]; then $doit $chowncmd \
"$dsttmp" || echo "warning: Unable to change owner of $dst!"; fi  if [ x"$chgrpcmd" \
!= x ]; then $doit $chgrpcmd "$dsttmp" || echo "warning: Unable to change group of \
$dst!"; fi  
 	trap "rm -f ${dsttmp}" 0 &&
-	if [ x"$stripcmd" != x ]; then $doit $stripcmd $stripopt "$dsttmp"; fi &&
 	if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dsttmp"; fi &&
 	$doit $rmcmd -f "$dstdir/$dstfile" &&
 	$doit $mvcmd "$dsttmp" "$dstdir/$dstfile"

_______________________________________________
cups-commit mailing list
cups-commit@easysw.com
http://lists.easysw.com/mailman/listinfo/cups-commit


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic