Framework script breaks release again, I'm not up for fixing this again. Error out.
authorJan Schneider <jan@horde.org>
Tue, 27 Apr 2010 14:12:30 +0000 (16:12 +0200)
committerJan Schneider <jan@horde.org>
Tue, 27 Apr 2010 15:41:10 +0000 (17:41 +0200)
framework/Release/lib/Horde/Release.php

index 75aa423..cf21acb 100644 (file)
@@ -466,10 +466,9 @@ class Horde_Release
                 die("\nThere was an error running the command\n$cmd\n");
             }
             print "Installing framework packages\n";
-            if (file_exists("./$directory/scripts/create-symlinks.php")) {
-                system("php ./$directory/scripts/create-symlinks.php --copy --src=./$directory/framework --dest=./$directory/lib");
-            } else {
-                system("horde-fw-symlinks.php --copy --src ./$directory/framework --dest ./$directory/lib");
+            passthru("install_framework --copy --src ./$directory/framework --dest ./$directory/lib", $result);
+            if ($result) {
+                exit;
             }
         }
     }