]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
make fscore_pb work better with debian and ubuntu
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 10 Oct 2012 18:31:15 +0000 (14:31 -0400)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 10 Oct 2012 18:31:15 +0000 (14:31 -0400)
support-d/fscore_pb

index 26b2e244fab8eebdb566b4a576edad9d89bdce9a..d419a7a1e093065897fcb9bc57f5ebe0ca1ee6a4 100755 (executable)
@@ -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."