BabyCakes13 / BabyCakes13/File-Changed-Trigger-Script

Script does not work with full path files

Aperta
#2 1 commento 0 reazioni 1 assegnatario Rivendicata da @BabyCakes13 Vedi su GitHub
bug
Lingua principale
Shell
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.