From b7eb06cf2bf1455875c6f0a4ed55e0c7f2f20e9e Mon Sep 17 00:00:00 2001 From: mroik Date: Sat, 10 Apr 2021 21:54:45 +0200 Subject: [PATCH] Removed bashism --- rssgen.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rssgen.sh b/rssgen.sh index 3e681c2..c1dfab1 100755 --- a/rssgen.sh +++ b/rssgen.sh @@ -1,6 +1,8 @@ +#!/bin/sh user=$(whoami) 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 ] then location="/home/$user/public_html/blog/rss.xml"