Просмотр исходного кода

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

CedarLUG 9 лет назад
Родитель
Сommit
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")