fixed path bug in nc script

This commit is contained in:
2021-03-24 23:17:20 +01:00
parent 9b357d7d82
commit d66feaa4d7
2 changed files with 6 additions and 10 deletions

View File

@@ -16,9 +16,7 @@ else
exit 1
fi
FILENAME=$(basename $FILE_PATH)
$SCRIPTPATH/nc-share-file.sh "$FILENAME" \
$SCRIPTPATH/nc-share-file.sh "$FILE_PATH" \
| perl -n -e '/([a-zA-Z0-9]+)$/ && print $1' \
| awk -n -e '{print "https://pb.kapelle.org/"$1}'