projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2ff431
)
Trivial bashification of 00dash/install
author
Victor Lowther
<victor.lowther@gmail.com>
Sat, 14 Aug 2010 19:23:26 +0000
(14:23 -0500)
committer
Harald Hoyer
<harald@redhat.com>
Mon, 23 Aug 2010 09:51:35 +0000
(11:51 +0200)
modules.d/00dash/install
patch
|
blob
|
history
diff --git
a/modules.d/00dash/install
b/modules.d/00dash/install
index
0b344ca
..
a197573
100755
(executable)
--- a/
modules.d/00dash/install
+++ b/
modules.d/00dash/install
@@
-1,6
+1,6
@@
#!/bin/bash
# If another shell is already installed, do not use dash
-[
-x "${initdir}/bin/sh"
] && return
+[
[ -x $initdir/bin/sh ]
] && return
# Prefer dash as /bin/sh if it is available.
inst /bin/dash && ln -sf dash "${initdir}/bin/sh"