Fix src dir for copy
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
Alexander Schäferdiek 2022-09-09 01:03:08 +02:00
parent 9e2f188ba1
commit 9466f83acc

View file

@ -36,7 +36,7 @@ menu() {
# stage # stage
tmpDir=/tmp/dotfiles-system-sync/; tmpDir=/tmp/dotfiles-system-sync/;
mkdir -p $tmpDir; mkdir -p $tmpDir;
srcDir=$(pwd)/etc/skel/. srcDir=/etc/skel/.
cp -R $srcDir $tmpDir; cp -R $srcDir $tmpDir;
# copy # copy
@ -60,7 +60,7 @@ menu() {
# stage # stage
tmpDir=/tmp/dotfiles-system-sync/; tmpDir=/tmp/dotfiles-system-sync/;
mkdir -p $tmpDir; mkdir -p $tmpDir;
srcDir=$(pwd)/etc/skel/. srcDir=/etc/skel/.
cp -R $srcDir $tmpDir; cp -R $srcDir $tmpDir;
# copy # copy