Skip to content

Commit 0835eb7

Browse files
authored
Update build-qwc2
1 parent 03c9695 commit 0835eb7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: bin/build-qwc2

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/bin/sh
22
{
33
startdir=`pwd`
4+
cd /usr/local/src/qwc2-demo-app
45
install="yarn install --cache-folder /home/user/.cache"
56
configure="cp -rf /qwc2conf/* ./"
67
update="yarn run prod --cache-folder /home/user/.cache"
78
replace="rsync --recursive --copy-links --size-only --delete /usr/local/src/qwc2-demo-app/ /qwc2"
89
chuser="chpst -u ${USER}"
9-
cd /usr/local/src/qwc2-demo-app
1010
echo
1111
if [ "`id -u`" -eq 0 ]
1212
then
@@ -24,6 +24,7 @@ else
2424
&& $update \
2525
&& echo 'Please wait, copying files to /qwc2...' \
2626
&& $replace \
27+
&& rm -rf /usr/local/src/qwc2-demo-app/{,.[!.],..?}* \
2728
&& echo 'DONE!'
2829
fi
2930
cd $startdir

0 commit comments

Comments
 (0)