Removed bashism

master
mroik 2021-04-10 21:54:45 +02:00
parent 46b82311f4
commit 73f566e148
No known key found for this signature in database
GPG Key ID: 48797EA19C19BED1
1 changed files with 3 additions and 1 deletions

View File

@ -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"