make fscore_pb work better with debian and ubuntu

This commit is contained in:
Anthony Minessale 2012-10-10 14:31:15 -04:00
parent 7166de4ab0
commit 39a6bdbd51

View File

@ -139,11 +139,9 @@ rm -fr $tmpdir
mkdir -p $tmpdir
cd $tmpdir
wget --output-file=/dev/null --http-user=pastebin --http-password=freeswitch http://pastebin.freeswitch.org --post-file=$post_file
pb=`ls [0-9]*`
pb=`cat /tmp/fscore_pb.tmp/index.html | grep parent_pid | awk -F \" '{print $6}'`
mv $post_file $tmpdir
echo "Finished."