From a43055e19b12d27555de0a1edd5f10cd69fac24f Mon Sep 17 00:00:00 2001 From: qo-op Date: Sun, 28 Mar 2021 21:33:36 +0200 Subject: [PATCH] remove ' --- ajouter_video.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ajouter_video.sh b/ajouter_video.sh index e266feb..bfaf6ed 100755 --- a/ajouter_video.sh +++ b/ajouter_video.sh @@ -299,5 +299,6 @@ esac ~/.zen/astrXbian/zen/new_file_in_astroport.sh "$HOME/astroport/${CAT}/${TMDB}/" "${FILE_NAME}" > /tmp/${CAT}_${TMDB}.log 2>&1 ######################################################################## ######################################################################## +FILE_NAME=$(echo ${FILE_NAME} | sed -e "s/\'/ /g") [ $? == 0 ] && zenity --warning --width 300 --text "OK! Votre vidéo $CAT ${FILE_NAME} a été transférée dans Astroport" && exit 0 \ || zenity --warning --width ${large} --height=${haut} --text "Désolé une erreur est survenue... LOG: $(cat /tmp/${CAT}_${TMDB}.log)" && exit 1