modifs.mineures sans commentaires
This commit is contained in:
parent
fbc70cb834
commit
77c90f02a4
5
bbnurse
5
bbnurse
|
@ -38,6 +38,7 @@ function copy_mature() {
|
|||
path="$src"
|
||||
fi
|
||||
tsrcdir=
|
||||
nurserypackage='nur\sery'; nulibpackage='nulib'
|
||||
if [ -n "$path" ]; then
|
||||
srcpackage="nur/sery/$path"; srcpackage="${srcpackage//\//\\}"
|
||||
destpackage="nulib/$path"; destpackage="${destpackage//\//\\}"
|
||||
|
@ -85,7 +86,7 @@ function copy_mature() {
|
|||
dest="$destdir/$srcname"
|
||||
estep "${src#$srcdir/}"
|
||||
mkdirof "$dest"
|
||||
sed "s|${srcpackage//\\/\\\\}|${destpackage//\\/\\\\}|g" <"$src" >"$dest"
|
||||
sed "s|${nurserypackage//\\/\\\\}|${nulibpackage//\\/\\\\}|g" <"$src" >"$dest"
|
||||
done
|
||||
if [ -n "$tsrcdir" ]; then
|
||||
einfo "$tsrcdir --> $tdestdir"
|
||||
|
@ -95,7 +96,7 @@ function copy_mature() {
|
|||
dest="$tdestdir/$srcname"
|
||||
estep "${src#$tsrcdir/}"
|
||||
mkdirof "$dest"
|
||||
sed "s|${srcpackage//\\/\\\\}|${destpackage//\\/\\\\}|g" <"$src" >"$dest"
|
||||
sed "s|${nurserypackage//\\/\\\\}|${nulibpackage//\\/\\\\}|g" <"$src" >"$dest"
|
||||
done
|
||||
fi
|
||||
eend
|
||||
|
|
Loading…
Reference in New Issue