Merge pull request #3001 from Gottox/conf_files-glob
globs files defined in conf_files=
This commit is contained in:
18
common/environment/install/extglob.sh
Normal file
18
common/environment/install/extglob.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
# This provides the extglob function to expand wildcards in the destdir
|
||||
|
||||
expand_destdir() {
|
||||
local result= glob= file=
|
||||
|
||||
(
|
||||
set -f
|
||||
for glob in $@; do
|
||||
files=$(echo "${PKGDESTDIR}/${glob}")
|
||||
set +f
|
||||
for file in $files; do
|
||||
result+="${blank}${file#$PKGDESTDIR/}"
|
||||
blank=" "
|
||||
done
|
||||
done
|
||||
echo "$result"
|
||||
)
|
||||
}
|
||||
1
common/environment/pkg/extglob.sh
Symbolic link
1
common/environment/pkg/extglob.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../install/extglob.sh
|
||||
Reference in New Issue
Block a user