functions.sh: use functions instead of aliases for the debug, mount wrappers - hush...
authorFelix Fietkau <nbd@openwrt.org>
Wed, 9 Dec 2009 13:36:43 +0000 (13:36 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 9 Dec 2009 13:36:43 +0000 (13:36 +0000)
SVN-Revision: 18715

package/base-files/files/etc/functions.sh

index eb7faac..a788c4c 100755 (executable)
@@ -2,8 +2,13 @@
 # Copyright (C) 2006 OpenWrt.org
 # Copyright (C) 2006 Fokus Fraunhofer <carsten.tittel@fokus.fraunhofer.de>
 
-alias debug=${DEBUG:-:}
-alias mount='busybox mount'
+
+debug () {
+       ${DEBUG:-:}
+}
+mount() {
+       busybox mount
+}
 
 # newline
 N="