Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
root
committed
Feb 16, 2012
1 parent
73cd506
commit 99b745d
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,16 @@ | |||
#!/bin/bash | |||
|
|||
mkdir kohana || true | |||
pushd kohana | |||
|
|||
tar xfz ../kohana-*.tar.gz --strip-components=1 | |||
|
|||
if [ "${KOHANA_MODULE}" == "core" ]; then | |||
rm -rf system || true | |||
ln -s ../source system || true | |||
else | |||
rm -rf modules/${KOHANA_MODULE} || true | |||
ln -s ../../source modules/${KOHANA_MODULE} || true | |||
fi | |||
|
|||
popd |