site_guncelle.sh 187 B

123456789
  1. #!/bin/sh
  2. siteko="/opt/milis-site"
  3. belgeko=${siteko}/belgeler
  4. if [ -d ${belgeko} ].;then rm -rf ${belgeko}/*
  5. else
  6. mkdir -p ${belgeko}
  7. fi
  8. make html && cp -rf _build/html/* ${belgeko}/