don't URL encode screenshot filenames, no longer necessary
This commit is contained in:
parent
5496b7f740
commit
b01815ac06
1 changed files with 2 additions and 2 deletions
|
|
@ -32,5 +32,5 @@ fi
|
||||||
FILENAME=$(basename "$WEB_IMG_PATH")
|
FILENAME=$(basename "$WEB_IMG_PATH")
|
||||||
FILENAME="${FILENAME// /_}"
|
FILENAME="${FILENAME// /_}"
|
||||||
s3cmd put "$WEB_IMG_PATH" s3://static.samhuri.net/"$FILENAME"
|
s3cmd put "$WEB_IMG_PATH" s3://static.samhuri.net/"$FILENAME"
|
||||||
ruby -rerb -e "puts 'http://static.samhuri.net/' + ERB::Util.url_encode('$FILENAME')"
|
echo "$FILENAME" | pbcopy
|
||||||
ruby -rerb -e "print 'http://static.samhuri.net/' + ERB::Util.url_encode('$FILENAME')" | pbcopy
|
echo "$FILENAME"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue