]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Trivial bashification of 00dash/install
authorVictor Lowther <victor.lowther@gmail.com>
Sat, 14 Aug 2010 19:23:26 +0000 (14:23 -0500)
committerHarald Hoyer <harald@redhat.com>
Mon, 23 Aug 2010 09:51:35 +0000 (11:51 +0200)
modules.d/00dash/install

index 0b344cad25709f1b29618b18de9c4f4778ac4b17..a197573c954902f15d67a7277fb675e33407788d 100755 (executable)
@@ -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"