mirror of
https://github.com/silverstripe/doc.silverstripe.org
synced 2024-10-22 15:05:50 +00:00
FIX update.sh
Use posix syntax to prevent occasional broken scripts See http://stackoverflow.com/questions/12468889/bash-script-error-function-not-found-why-would-this-appear
This commit is contained in:
parent
c4968c0e12
commit
f2ce8cb754
@ -19,7 +19,7 @@ fi
|
||||
#
|
||||
#===============================================================================
|
||||
# Parameters: github path
|
||||
function checkout {
|
||||
checkout () {
|
||||
echo "Checking out $2/$3 from $1"
|
||||
mkdir -p $dir/src
|
||||
|
||||
@ -66,4 +66,4 @@ checkout 'silverstripe/silverstripe-cms.git' 'cms' '3.0'
|
||||
# popular labs projects
|
||||
# checkout 'silverstripe-labs/silverstripe-staticpublisher.git' 'staticpublisher'
|
||||
|
||||
echo "Done."
|
||||
echo "Done."
|
||||
|
Loading…
x
Reference in New Issue
Block a user