summaryrefslogtreecommitdiff
path: root/modules.d/00dash
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2010-08-14 14:23:26 -0500
committerHarald Hoyer <harald@redhat.com>2010-08-23 11:51:35 +0200
commit1de37e808c7abe0997bde385cbec5284e580fd9d (patch)
tree3c83ab259851615efeff329eccdf1fe8d235370f /modules.d/00dash
parentb2ff4317f166bd2ba99371eec5d442ba3ede958a (diff)
downloaddracut-1de37e808c7abe0997bde385cbec5284e580fd9d.tar.gz
dracut-1de37e808c7abe0997bde385cbec5284e580fd9d.tar.bz2
dracut-1de37e808c7abe0997bde385cbec5284e580fd9d.zip
Trivial bashification of 00dash/install
Diffstat (limited to 'modules.d/00dash')
-rwxr-xr-xmodules.d/00dash/install2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/00dash/install b/modules.d/00dash/install
index 0b344cad..a197573c 100755
--- 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"