Add BB_SH to get_last_path_component()... Fix thanks to

Bj�rn Eriksson.
This commit is contained in:
Eric Andersen 2000-09-05 21:50:52 +00:00
parent 1eec89df4c
commit d13ebff163

View File

@ -1705,7 +1705,7 @@ char process_escape_sequence(char **ptr)
} }
#endif #endif
#if defined BB_BASENAME || defined BB_LN #if defined BB_BASENAME || defined BB_LN || defined BB_SH
char *get_last_path_component(char *path) char *get_last_path_component(char *path)
{ {
char *s=path+strlen(path)-1; char *s=path+strlen(path)-1;