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