From 77c90f02a403a566e3158f9174bae95fab5b5718 Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Sat, 30 Dec 2023 18:50:38 +0400 Subject: [PATCH] modifs.mineures sans commentaires --- bbnurse | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bbnurse b/bbnurse index 0765ecd..303cd1b 100755 --- a/bbnurse +++ b/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