aboutsummaryrefslogtreecommitdiffstats
path: root/bin/rssg
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rssg')
-rwxr-xr-xbin/rssg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/rssg b/bin/rssg
index f153b0e..d42ff14 100755
--- a/bin/rssg
+++ b/bin/rssg
@@ -29,7 +29,7 @@ for file in $(__list_files_date "${rss_dir}"); do
date=$(__get_value_date_publication "${file}")
link="${website_link}/$(__get_final_filename ${file})"
if [ "${uname}" = "Linux" ]; then
- guid="$(echo ${link} | sha256sum)"
+ guid="$(echo ${link} | sha256sum | cut -d ' ' -f 1)"
else
guid="$(echo ${link} | sha256)"
fi
remember that computers suck.