[Bps-public-commit] Shipwright branch, master, updated. c58bcac0404abff5dca3f4e4ac9fbd1c05f75b5b

sunnavy at bestpractical.com sunnavy at bestpractical.com
Tue Jul 21 03:49:23 EDT 2009


The branch, master has been updated
       via  c58bcac0404abff5dca3f4e4ac9fbd1c05f75b5b (commit)
      from  b4f364d76552a1cea26a8af72e98677b9bb65779 (commit)

Summary of changes:
 share/etc/shipwright-utility |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit c58bcac0404abff5dca3f4e4ac9fbd1c05f75b5b
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Jul 21 15:49:15 2009 +0800

    need to update __as when switching

diff --git a/share/etc/shipwright-utility b/share/etc/shipwright-utility
index f7dbeea..f8297c6 100755
--- a/share/etc/shipwright-utility
+++ b/share/etc/shipwright-utility
@@ -72,6 +72,11 @@ elsif ( $args{'switch'} ) {
             }
         }
         wrap_bin();
+
+        open my $fh, '>', '__as' or die $!;
+        print $fh $name;
+        close $fh;
+
         print "switched to $name with success.\n";
 
     }

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list