mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-10 02:11:44 +01:00
13 lines
217 B
Diff
13 lines
217 B
Diff
--- a/src/cli/cli.c
|
|
+++ b/src/cli/cli.c
|
|
@@ -49,6 +49,9 @@
|
|
|
|
#include "build.h"
|
|
|
|
+#define basename(path) \
|
|
+ (strrchr((path),'/') ? strrchr((path),'/')+1 : (path))
|
|
+
|
|
/**
|
|
* Print a (@detailed) usage of PRoot.
|
|
*/
|