buildSDK/pre-commit
[roojs1] / buildSDK / pre-commit
index 17a7759..c347868 100644 (file)
@@ -2,9 +2,11 @@
 <?php
 
 
-
+$ar = array();
 while (($line = fgets(STDIN)) !== false) {
      echo "got: $line\n";
+     $ar[] = $linel
 }
+file_put_contents("/tmp/commitlog.txt", implode("\n", $ar));
      
  
\ No newline at end of file