mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
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
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user