cabin

Source code for personal website
git clone git://git.dimitrijedobrota.com/cabin.git
Log | Files | Refs | README | LICENSE |

commit45f3fa50b1bdede4c7c7e4ac8fa77829af7bca27
parent643a28e6574ca7e13235d27f08cd1c450ffd53f4
authorDimitrije Dobrota <mail@dimitrijedobrota.com>
dateWed, 1 Jan 2025 19:56:35 +0100

Consolidate the deploy script

Diffstat:
Mcabin-deploy.sh|+++---

1 files changed, 3 insertions(+), 3 deletions(-)


diff --git a/cabin-deploy.sh b/cabin-deploy.sh

@@ -8,11 +8,11 @@ if [ "$#" -ne 2 ]; then

exit 1
fi
src="$1"
dst="$2"
src="$(realpath $1)"
dst="$(realpath $2)"
pushd "$src" || exit
find . -not -iname "*.md" -a -not -path "*.git*" -a -not -path "*.git*"| cpio -pvd "$dst"
find . -not -iname "*.md" -a -not -path "*.git*" -a -not -path "*.git*" | cpio -pd "$dst" 2>/dev/null
popd || exit
opt=()