projects
/
openwrt
/
staging
/
dedeckeh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use absolute paths in include() shell function
[openwrt/staging/dedeckeh.git]
/
openwrt
/
package
/
base-files
/
default
/
etc
/
functions.sh
diff --git
a/openwrt/package/base-files/default/etc/functions.sh
b/openwrt/package/base-files/default/etc/functions.sh
index 27b0a6d5fc90a27c2608456392d619bd89126c46..ce22ed151c3e25dd2eaf9aa6ac6c25e7f87e1e00 100755
(executable)
--- 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
}