mirror of https://github.com/status-im/consul.git
Add shopt globs to include hidden files
This commit is contained in:
parent
78aa6f1443
commit
e34c321fce
|
@ -16,7 +16,8 @@ while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
|
||||||
DIR="$( cd -P "$( dirname "$SOURCE" )/.." && pwd )"
|
DIR="$( cd -P "$( dirname "$SOURCE" )/.." && pwd )"
|
||||||
|
|
||||||
# Copy into tmpdir
|
# Copy into tmpdir
|
||||||
cp -R $DIR/website/ $DEPLOY/
|
shopt -s dotglob
|
||||||
|
cp -r $DIR/website/* $DEPLOY/
|
||||||
|
|
||||||
# Change into that directory
|
# Change into that directory
|
||||||
pushd $DEPLOY &>/dev/null
|
pushd $DEPLOY &>/dev/null
|
||||||
|
@ -25,6 +26,7 @@ pushd $DEPLOY &>/dev/null
|
||||||
touch .gitignore
|
touch .gitignore
|
||||||
echo ".sass-cache" >> .gitignore
|
echo ".sass-cache" >> .gitignore
|
||||||
echo "build" >> .gitignore
|
echo "build" >> .gitignore
|
||||||
|
echo "vendor" >> .gitignore
|
||||||
|
|
||||||
# Add everything
|
# Add everything
|
||||||
git init -q .
|
git init -q .
|
||||||
|
|
Loading…
Reference in New Issue