[Bps-public-commit] r16046 - in Shipwright/trunk: share/bin

sunnavy at bestpractical.com sunnavy at bestpractical.com
Tue Sep 23 22:45:51 EDT 2008


Author: sunnavy
Date: Tue Sep 23 22:45:51 2008
New Revision: 16046

Modified:
   Shipwright/trunk/   (props changed)
   Shipwright/trunk/share/bin/shipwright-builder

Log:
 r16816 at sunnavys-mb:  sunnavy | 2008-09-24 10:43:45 +0800
 make sure wrappers will not be overwritten


Modified: Shipwright/trunk/share/bin/shipwright-builder
==============================================================================
--- Shipwright/trunk/share/bin/shipwright-builder	(original)
+++ Shipwright/trunk/share/bin/shipwright-builder	Tue Sep 23 22:45:51 2008
@@ -292,6 +292,12 @@
     mkdir catdir( $args{'install-base'},       'bin' )
       unless -e catdir( $args{'install-base'}, 'bin' );
 
+    # in case wrappers are overwritten by accident
+    for ( 'shipwright-script-wrapper', 'shipwright-perl-wrapper' ) {
+        copy( catfile( 'etc', $_ ),
+            catfile( $args{'install-base'}, 'etc', $_ ) );
+    }
+
     wrap_bin($log);
     print "install finished, the dists are at $args{'install-base'}\n";
     print $log "install finished, the dists are at $args{'install-base'}\n";



More information about the Bps-public-commit mailing list