diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-09-24 13:32:18 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-09-24 13:32:18 +0000 |
commit | da625de806a3e4a4a4986caedf8fbd2c4d3f1e75 (patch) | |
tree | b17cf5de9ee6069544fcc3e86874e1518d983445 /openwrt/package/base-files/default/etc/functions.sh | |
parent | 643cdb2818568429c07c79a445527eaee673130a (diff) | |
download | mtk-20170518-da625de806a3e4a4a4986caedf8fbd2c4d3f1e75.zip mtk-20170518-da625de806a3e4a4a4986caedf8fbd2c4d3f1e75.tar.gz mtk-20170518-da625de806a3e4a4a4986caedf8fbd2c4d3f1e75.tar.bz2 |
use absolute paths in include() shell function
SVN-Revision: 4852
Diffstat (limited to 'openwrt/package/base-files/default/etc/functions.sh')
-rwxr-xr-x | openwrt/package/base-files/default/etc/functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/base-files/default/etc/functions.sh b/openwrt/package/base-files/default/etc/functions.sh index 27b0a6d..ce22ed1 100755 --- a/openwrt/package/base-files/default/etc/functions.sh +++ b/openwrt/package/base-files/default/etc/functions.sh @@ -93,7 +93,7 @@ load_modules() { } include() { - for file in $(ls /lib/$1/*.sh 2>/dev/null); do + for file in $(ls $1/*.sh 2>/dev/null); do . $file done } |