mirror of https://github.com/Mroik/ttbp-rssgen.git
Removed bashism
parent
46b82311f4
commit
73f566e148
|
@ -1,6 +1,8 @@
|
||||||
|
#!/bin/sh
|
||||||
user=$(whoami)
|
user=$(whoami)
|
||||||
cd ~
|
cd ~
|
||||||
read -p "Specify the blog location(~/public_html/blog/): " location
|
echo -n "Specify the blog location(~/public_html/blog/): "
|
||||||
|
read location
|
||||||
if [ -z $location ]
|
if [ -z $location ]
|
||||||
then
|
then
|
||||||
location="/home/$user/public_html/blog/rss.xml"
|
location="/home/$user/public_html/blog/rss.xml"
|
||||||
|
|
Loading…
Reference in New Issue