aboutsummaryrefslogtreecommitdiff
path: root/toys/posix
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-01-25 07:33:48 -0600
committerRob Landley <rob@landley.net>2019-01-25 07:33:48 -0600
commitb8070a742549e418e5e96e69cfd88f7e8d41880e (patch)
tree9a070d2b4f07d890a0d86285929b314f328a37ac /toys/posix
parent49bfa0723dc411a6063822b5e84b2209804bb573 (diff)
downloadtoybox-b8070a742549e418e5e96e69cfd88f7e8d41880e.tar.gz
OpenEmbedded needs commands installed in specific places.
Diffstat (limited to 'toys/posix')
-rw-r--r--toys/posix/nice.c2
-rw-r--r--toys/posix/nl.c2
-rw-r--r--toys/posix/paste.c2
-rw-r--r--toys/posix/ps.c2
-rw-r--r--toys/posix/sed.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/toys/posix/nice.c b/toys/posix/nice.c
index 57feffe1..ca5e2224 100644
--- a/toys/posix/nice.c
+++ b/toys/posix/nice.c
@@ -4,7 +4,7 @@
*
* See http://opengroup.org/onlinepubs/9699919799/utilities/nice.html
-USE_NICE(NEWTOY(nice, "^<1n#", TOYFLAG_USR|TOYFLAG_BIN))
+USE_NICE(NEWTOY(nice, "^<1n#", TOYFLAG_BIN))
config NICE
bool "nice"
diff --git a/toys/posix/nl.c b/toys/posix/nl.c
index 3dbfcfd1..b9e60ae2 100644
--- a/toys/posix/nl.c
+++ b/toys/posix/nl.c
@@ -7,7 +7,7 @@
* This implements a subset: only one logical page (-ip), no sections (-dfh).
* todo: -lv
-USE_NL(NEWTOY(nl, "v#<1=1l#w#<0=6Eb:n:s:", TOYFLAG_BIN))
+USE_NL(NEWTOY(nl, "v#<1=1l#w#<0=6Eb:n:s:", TOYFLAG_USR|TOYFLAG_BIN))
config NL
bool "nl"
diff --git a/toys/posix/paste.c b/toys/posix/paste.c
index 872a744f..7d9ba947 100644
--- a/toys/posix/paste.c
+++ b/toys/posix/paste.c
@@ -6,7 +6,7 @@
*
* Deviations from posix: the FILE argument isn't mandatory, none == '-'
-USE_PASTE(NEWTOY(paste, "d:s", TOYFLAG_BIN|TOYFLAG_LOCALE))
+USE_PASTE(NEWTOY(paste, "d:s", TOYFLAG_USR|TOYFLAG_BIN|TOYFLAG_LOCALE))
config PASTE
bool "paste"
diff --git a/toys/posix/ps.c b/toys/posix/ps.c
index fef9c908..079bdbd6 100644
--- a/toys/posix/ps.c
+++ b/toys/posix/ps.c
@@ -44,7 +44,7 @@
* TODO: top: thread support and SMP
* TODO: pgrep -f only searches the amount of cmdline that fits in toybuf.
-USE_PS(NEWTOY(ps, "k(sort)*P(ppid)*aAdeflMno*O*p(pid)*s*t*Tu*U*g*G*wZ[!ol][+Ae][!oO]", TOYFLAG_USR|TOYFLAG_BIN|TOYFLAG_LOCALE))
+USE_PS(NEWTOY(ps, "k(sort)*P(ppid)*aAdeflMno*O*p(pid)*s*t*Tu*U*g*G*wZ[!ol][+Ae][!oO]", TOYFLAG_BIN|TOYFLAG_LOCALE))
// stayroot because iotop needs root to read other process' proc/$$/io
// TOP and IOTOP have a large common option block used for common processing,
// the default values are different but the flags are in the same order.
diff --git a/toys/posix/sed.c b/toys/posix/sed.c
index 175e05d6..e111467b 100644
--- a/toys/posix/sed.c
+++ b/toys/posix/sed.c
@@ -11,7 +11,7 @@
* What's the right thing to do for -i when write fails? Skip to next?
* test '//q' with no previous regex, also repeat previous regex?
-USE_SED(NEWTOY(sed, "(help)(version)e*f*i:;nErz(null-data)[+Er]", TOYFLAG_USR|TOYFLAG_BIN|TOYFLAG_LOCALE|TOYFLAG_NOHELP))
+USE_SED(NEWTOY(sed, "(help)(version)e*f*i:;nErz(null-data)[+Er]", TOYFLAG_BIN|TOYFLAG_LOCALE|TOYFLAG_NOHELP))
config SED
bool "sed"