]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4706 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 10 Oct 2012 18:57:26 +0000 (13:57 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 10 Oct 2012 18:57:31 +0000 (13:57 -0500)
support-d/fscore_pb

index d419a7a1e093065897fcb9bc57f5ebe0ca1ee6a4..1dc0524d28b50d5105baf7bc37ec238e1103b350 100755 (executable)
@@ -139,9 +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
+wget --output-file=/dev/null --output-document=/tmp/fscore_pb.tmp/pb_out --http-user=pastebin --http-password=freeswitch http://pastebin.freeswitch.org --post-file=$post_file
 
-pb=`cat /tmp/fscore_pb.tmp/index.html | grep parent_pid | awk -F \" '{print $6}'`
+pb=`cat /tmp/fscore_pb.tmp/pb_out | grep parent_pid | awk -F \" '{print $6}'`
 
 mv $post_file $tmpdir
 echo "Finished."