BabyCakes13 / BabyCakes13/File-Changed-Trigger-Script

Script does not work with full path files

Ouverte
#2 1 commentaire 0 réactions 1 personne assignée Réclamée par @BabyCakes13 Voir sur GitHub
bug
Langage dominant
Shell
Étoiles
0
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Something like the following
./watch.sh ~/path/to/directory ~/path/to/directory/file

won't work, because in the script I check whether the second argument is exactly the file name. Which isn't true all the time, since I would usually give the full path of the file rather than just the name. The file name should be extracted and compared.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.