зеркало из https://github.com/telerik/docs-seed.git
fix: Variable init
This commit is contained in:
Родитель
e3a6d5ae56
Коммит
f26cb7bcbf
5
build.sh
5
build.sh
|
@ -1,9 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
config_file = "_config.yml"
|
||||
config_file="_config.yml"
|
||||
if [ ! -z "$1" ]
|
||||
then
|
||||
config_file = $1
|
||||
echo "Using configuration file: $1"
|
||||
config_file=$1
|
||||
fi
|
||||
|
||||
echo "Start building..."
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
clone_path = ".tmp/"
|
||||
dir=".tmp"
|
||||
if [ ! -z "$1" ]
|
||||
then
|
||||
clone_path = $1
|
||||
echo "Copying to $1"
|
||||
dir=$1
|
||||
fi
|
||||
|
||||
echo "Start copying..."
|
||||
|
||||
cp -r $clone_path/* "./"
|
||||
cp -r $dir/* "./"
|
||||
|
||||
echo "Copying finished."
|
||||
|
|
Загрузка…
Ссылка в новой задаче