summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/Caldera/OpenLinux/samba3.spec.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/packaging/Caldera/OpenLinux/samba3.spec.tmpl b/packaging/Caldera/OpenLinux/samba3.spec.tmpl
index 730c6bdff6..0745bce81d 100644
--- a/packaging/Caldera/OpenLinux/samba3.spec.tmpl
+++ b/packaging/Caldera/OpenLinux/samba3.spec.tmpl
@@ -349,10 +349,10 @@ done
%{fixUP} -vT $DESTDIR/%{EtcSamba} -e 's:\@samba_home\@:%{LSBservedir}:'
%{fixManPages}
-cd $DESTDIR/usr/share/man/lang
-cp -a . $DESTDIR/usr/share/man/en
-cd ..
-rm -rf lang
+( cd $DESTDIR/usr/share/man/lang; \
+ cp -a . $DESTDIR/usr/share/man/en; \
+ cd ..; \
+ rm -rf lang )
%{mkLists} -c samba
cat << 'EOF' | %{mkLists} -d samba