[Solar-svn] Revision 3264
pmjones at solarphp.com
pmjones at solarphp.com
Sun Jul 27 11:19:04 CDT 2008
Solar_Cli_MakeVendor: [ADD] Symlink a script for the vendor to the solar bin.
Modified: trunk/Solar/Cli/MakeVendor.php
===================================================================
--- trunk/Solar/Cli/MakeVendor.php 2008-07-27 16:08:52 UTC (rev 3263)
+++ trunk/Solar/Cli/MakeVendor.php 2008-07-27 16:19:04 UTC (rev 3264)
@@ -52,8 +52,6 @@
// we need a vendor name, at least
if (! $vendor) {
throw $this->_exception('ERR_NO_VENDOR_NAME');
- } else {
- $this->_vendor = $vendor;
}
// build "foo-bar" and "FooBar" versions of the vendor name.
@@ -109,9 +107,15 @@
passthru($cmd);
// docroot/public/Vendor -> include/Vendor/App/Public
- $public = "$system/docroot/public/{$this->_vendor}";
+ $public = "$system/docroot/public/{$this->_studly}";
$cmd = "ln -s $include/App/Public $public";
$this->_outln($cmd);
passthru($cmd);
+
+ // script/vendor -> source/solar/bin/solar
+ $script = "$system/script/{$this->_dashes}";
+ $cmd = "ln -s $system/source/solar/bin/solar $script";
+ $this->_outln($cmd);
+ passthru($cmd);
}
}
More information about the Solar-svn
mailing list