aboutsummaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2018-02-18 18:45:09 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2018-02-18 18:45:09 +0100
commit6ba79afc2327fded754b6694c5802f34e5fe609d (patch)
treeb92458024a184ca3f5798317a2b48ab072292f81 /autogen.sh
parent12a1b0d7a3e6cfaa1bb77b0f36d00004ddf0690d (diff)
autogen.sh: /bin/rm -> rm
For portability, don't assume that /bin/rm exists, rely on $PATH lookup instead. This fixes building in sandboxed Nix(pkgs) builds.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 18fcf4731..0b6dbfc43 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -5,7 +5,7 @@ NDPI_MINOR="3"
NDPI_PATCH="0"
NDPI_VERSION_SHORT="$NDPI_MAJOR.$NDPI_MINOR.$NDPI_PATCH"
-/bin/rm -f configure config.h config.h.in src/lib/Makefile.in
+rm -f configure config.h config.h.in src/lib/Makefile.in
AUTOCONF=$(which autoconf)
AUTOMAKE=$(which automake)