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 0b344ca..a197573 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"