diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-09-24 13:32:18 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-09-24 13:32:18 +0000 |
commit | 139dfb16c8d408dce549701a7b3e57f5f06d5257 (patch) | |
tree | 9b739c6907465a7b5413e56f44266afa6bf2a771 /package/base-files/default/etc/functions.sh | |
parent | 85c84eceb3891b8ee2a55d6cb639b858a952c503 (diff) |
use absolute paths in include() shell function
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4852 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/default/etc/functions.sh')
-rwxr-xr-x | package/base-files/default/etc/functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/default/etc/functions.sh b/package/base-files/default/etc/functions.sh index 27b0a6d5f..ce22ed151 100755 --- a/package/base-files/default/etc/functions.sh +++ b/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 } |