BabyCakes13 / BabyCakes13/File-Changed-Trigger-Script

Script does not work with full path files

Offen
#2 1 Kommentar 0 Reaktionen 1 zugewiesene Person Beansprucht von @BabyCakes13 Auf GitHub ansehen
bug
Vorherrschende Sprache
Shell
Sterne
0
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.