Browse Source

down use cp -a

master
Nils 3 years ago
parent
commit
1b63228c12
  1. 2
      generate.bash

2
generate.bash

@ -92,6 +92,6 @@ cat "modules/10head" "temp/index_menu" "modules/20aftermenu" "directcontent/inde
cd "$ROOTPATH" #reset for next step
if [ -d "../html" ]; then
echo "It looks like we are on a host. Deploying website"
cp -a out/. ../html #copy all, including hidden. This will not replace the html symlink
cp -r out/. ../html #copy all, including hidden. This will not replace the html symlink . Do NOT use cp -a, this will screw up file permissions
fi

Loading…
Cancel
Save