make-dbus-glib-error-enum.sh use sh but with syntax of bash

Marcin Krzyzanowski krzak at hakore.com
Mon Dec 13 04:35:42 PST 2004


Hi,

in file dbus/make-dbus-glib-error-enum.sh

there is
#!/bin/sh

SRC=$1
DEST=$2

function die()
{
     echo $1 1>&2
     /bin/rm $DEST.tmp
     exit 1
}


but this is a bash syntax AFAIK.

In my system sh -> ksh, so maybe there should be

#! /bin/bash

?


-- 
Marcin Krzyżanowski


More information about the dbus mailing list