1
0
mirror of synced 2026-04-26 20:36:26 +00:00

Don't use perl syntax in shell scripts ;-)

This commit is contained in:
Axel Beckert
2010-03-03 02:11:44 +01:00
parent b6c82d9f1a
commit aad28f3fd3

View File

@@ -29,10 +29,10 @@ logMessage Script $0 starting
#
# Test where MAKEDEV is located, assuming /sbin/ as default
#
my $MAKEDEV = "$prefix/sbin/MAKEDEV";
if ( !-x $MAKEDEV and -x "$prefix/dev/MAKEDEV" ) {
$MAKEDEV = "$prefix/dev/MAKEDEV";
}
MAKEDEV = "$prefix/sbin/MAKEDEV"
if [ ! -x $MAKEDEV -a -x "$prefix/dev/MAKEDEV" ]; then
MAKEDEV = "$prefix/dev/MAKEDEV"
fi