Update build.sh
This commit is contained in:
14
build.sh
14
build.sh
@@ -20,7 +20,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Cheap patch for copying in case the paths aren't present.
|
# Cheap patch for copying in case the paths aren't present.
|
||||||
mkdir -p target/.well-known
|
mkdir -p target
|
||||||
|
|
||||||
for x in $args
|
for x in $args
|
||||||
do
|
do
|
||||||
@@ -58,14 +58,18 @@ do
|
|||||||
|
|
||||||
elif [ "$x" == 'copy' ]
|
elif [ "$x" == 'copy' ]
|
||||||
then
|
then
|
||||||
cmd='cp -Ru'
|
cmd='cp -R'
|
||||||
|
|
||||||
files=(
|
files=(
|
||||||
'src/.well-known/'
|
'src/.well-known/security.txt'
|
||||||
'src/feed/'
|
'src/feed/rss.xml'
|
||||||
'src/img/'
|
|
||||||
'src/robots.txt'
|
'src/robots.txt'
|
||||||
)
|
)
|
||||||
|
files+=(`ls src/img/`)
|
||||||
|
|
||||||
|
mkdir -p target/.well-known
|
||||||
|
mkdir -p target/feed
|
||||||
|
mkdir -p target/img
|
||||||
|
|
||||||
action=Copying...
|
action=Copying...
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user