mirror of https://github.com/flarum/flarum
corrected cleaning up of extra files + zip/tar correction
Since already in $app, don't need to rm $app/node_modules.pull/19/head
parent
6c565c1d25
commit
43aeef7fff
|
@ -82,7 +82,7 @@
|
||||||
cd $app
|
cd $app
|
||||||
npm link gulp flarum-gulp babel-core
|
npm link gulp flarum-gulp babel-core
|
||||||
gulp --production
|
gulp --production
|
||||||
rm -rf "$app"/node_modules
|
rm -rf node_modules
|
||||||
)
|
)
|
||||||
done
|
done
|
||||||
)
|
)
|
||||||
|
@ -154,8 +154,8 @@
|
||||||
# Create Checksum - run md5sum -c in extracted directory to check
|
# Create Checksum - run md5sum -c in extracted directory to check
|
||||||
find . -type f -exec md5sum {} \; &> CHECKSUM
|
find . -type f -exec md5sum {} \; &> CHECKSUM
|
||||||
|
|
||||||
zip ./ /"$export"flarum_$(date +\%m_\%d_\%Y).zip
|
zip -r -x@$flarum_source/INCR_COMPILE "$export"/flarum_$(date +\%m_\%d_\%Y).zip ./
|
||||||
tar --preserve-permissions --preserve-order -zcf "$export"flarum_$(date +\%m_\%d_\%Y).tar.gz ./
|
tar --preserve-permissions -zcf "$export"/flarum_$(date +\%m_\%d_\%Y).tar.gz ./
|
||||||
|
|
||||||
# Remove /tmp/tmp.* files if not designated by -s
|
# Remove /tmp/tmp.* files if not designated by -s
|
||||||
if [ ${removetmp:-no} == yes ]; then rm -fr $compiled_flarum; fi
|
if [ ${removetmp:-no} == yes ]; then rm -fr $compiled_flarum; fi
|
||||||
|
|
Loading…
Reference in New Issue