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"
|
path="$src"
|
||||||
fi
|
fi
|
||||||
tsrcdir=
|
tsrcdir=
|
||||||
|
nurserypackage='nur\sery'; nulibpackage='nulib'
|
||||||
if [ -n "$path" ]; then
|
if [ -n "$path" ]; then
|
||||||
srcpackage="nur/sery/$path"; srcpackage="${srcpackage//\//\\}"
|
srcpackage="nur/sery/$path"; srcpackage="${srcpackage//\//\\}"
|
||||||
destpackage="nulib/$path"; destpackage="${destpackage//\//\\}"
|
destpackage="nulib/$path"; destpackage="${destpackage//\//\\}"
|
||||||
|
@ -85,7 +86,7 @@ function copy_mature() {
|
||||||
dest="$destdir/$srcname"
|
dest="$destdir/$srcname"
|
||||||
estep "${src#$srcdir/}"
|
estep "${src#$srcdir/}"
|
||||||
mkdirof "$dest"
|
mkdirof "$dest"
|
||||||
sed "s|${srcpackage//\\/\\\\}|${destpackage//\\/\\\\}|g" <"$src" >"$dest"
|
sed "s|${nurserypackage//\\/\\\\}|${nulibpackage//\\/\\\\}|g" <"$src" >"$dest"
|
||||||
done
|
done
|
||||||
if [ -n "$tsrcdir" ]; then
|
if [ -n "$tsrcdir" ]; then
|
||||||
einfo "$tsrcdir --> $tdestdir"
|
einfo "$tsrcdir --> $tdestdir"
|
||||||
|
@ -95,7 +96,7 @@ function copy_mature() {
|
||||||
dest="$tdestdir/$srcname"
|
dest="$tdestdir/$srcname"
|
||||||
estep "${src#$tsrcdir/}"
|
estep "${src#$tsrcdir/}"
|
||||||
mkdirof "$dest"
|
mkdirof "$dest"
|
||||||
sed "s|${srcpackage//\\/\\\\}|${destpackage//\\/\\\\}|g" <"$src" >"$dest"
|
sed "s|${nurserypackage//\\/\\\\}|${nulibpackage//\\/\\\\}|g" <"$src" >"$dest"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
eend
|
eend
|
||||||
|
|
Loading…
Reference in New Issue