Fixed accidental duplicate echo

This commit is contained in:
Siina Mashek 2024-02-17 19:17:48 +02:00
parent edb7254578
commit 673e4ef837

View file

@ -9,8 +9,9 @@ current_note="$site_dir/notes/${current_date}.txt"
if [ -z "$1" ]; then if [ -z "$1" ]; then
echo -e "\n<p><b>$(echo $timestamp)</b>: </p>" >> $current_note echo -e "\n<p><b>$(echo $timestamp)</b>: </p>" >> $current_note
cd $site_dir && make cd $site_dir && make
fi else
echo -e "\n<p><b>$(echo $timestamp)</b>: ${1}</p>" >> $current_note echo -e "\n<p><b>$(echo $timestamp)</b>: ${1}</p>" >> $current_note
fi
cd $site_dir cd $site_dir
./noter/noter.sh public ./noter/noter.sh public