Corrected location of core for hash checks

+ a missed one in the compile area itself.
pull/18/head
Kulga 2015-09-24 21:54:16 -07:00
parent 515bac0caf
commit 99b651fcdd
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@
echo -e '\nWarning! Incremental update Not heavily tested!\n'
cd $compiled_flarum
orginal_sum="$(grep "flarum/core" $flarum_source/INCR_COMPILE | awk '{ print $3 }')"
new_sum="$(cd $flarum_source/core; git log -1 | head -n1 | cut -d\ -f2 | cut -b1-10)"
new_sum="$(cd $flarum_source/flarum/core; git log -1 | head -n1 | cut -d\ -f2 | cut -b1-10)"
if [ "$orginal_sum" != "$new_sum" ]
then