소스 검색

Putting the servername in the Pastebin title page details through
the curl post.

CedarLUG 10 년 전
부모
커밋
3928045b56
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lgsm/functions/command_postdetails.sh

+ 1 - 1
lgsm/functions/command_postdetails.sh

@@ -115,7 +115,7 @@ if [ "$POSTTARGET" == "http://pastebin.com" ] ; then
    #
    link=$(curl -s "$POSTTARGET/post.php" -D - -F "submit_hidden=submit_hidden" \
 	       -F "post_key=$TOKEN" -F "paste_expire_date=${POSTEXPIRE}" \
-	       -F "paste_name=LGSM Debug post" \
+	       -F "paste_name=${gamename} Debug Info" \
                -F "paste_format=8" -F "paste_private=0" \
                -F "paste_type=bash" -F "paste_code=<${tmpfile}" |
 	       awk '/^location: / { print $2 }' | sed "s/\n//g")