Fix access problem

This commit is contained in:
wlx 2016-05-25 17:31:11 +08:00
parent d4d2508d99
commit 885b92b88f
1 changed files with 1 additions and 1 deletions

View File

@ -9,6 +9,6 @@ cat westdc-step0.log | grep "/data/view/uuid/[0-9a-fA-F]\{8\}-[0-9a-fA-F]\{4\}-[
awk '$7 != "/" {print $4,$1,$6,$7,$10}' westdc-step1.log > westdc-step2.log awk '$7 != "/" {print $4,$1,$6,$7,$10}' westdc-step1.log > westdc-step2.log
cp westdc-step2.log /tmp/ cp westdc-step2.log /tmp/
cp log.sql /tmp/ cp log.sql /tmp/
su -c "psql metadata -f log.sql" postgres su -c "psql metadata -f /tmp/log.sql" postgres
rm /tmp/westdc-step2.log rm /tmp/westdc-step2.log
rm /tmp/log.sql rm /tmp/log.sql