Burak Gürsoy avatar Burak Gürsoy committed 0040c6f

Fix color

Comments (0)

Files changed (2)

     nomb
     nomm
     install
+    sudo
     module=i
     perl=s
 ));
         if !$build_pl && !$makefile_pl;
 
     if ( $O{install} && $build_pl ) {
+        my $sudo = $O{sudo} ? q(sudo ) : q();
         call("$PERL_EXE Build");
-        call("$PERL_EXE Build install");
+        call("${sudo}$PERL_EXE Build install");
     }
     return;
 }
     color
     commit
     push
+    all
 ));
 
 RUN: {
+    if ( $ARG{all} ) {
+        $ARG{$_} = 1 for qw( diff color commit push );
+    }
+    $ARG{color} = 0 if $^O =~ m{\AMSWin}xms;
     my $base = shift || do {
         my $dn = dirname( __FILE__ );
         my $d  = canonpath( $dn );
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.