set-podcast-url.sh: add only basename to URL

This commit is contained in:
Milan
2024-03-28 23:29:55 +01:00
parent fa67921d98
commit a55301bcfe

View File

@@ -1,3 +1,3 @@
#!/bin/sh
echo "calcms_events.podcast_url = http://podcasts.org/files/$1"
filename=$(basename "$1")
echo "calcms_events.podcast_url = http://podcasts.org/files/$filename"