diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-06-11 15:05:08 +0100 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-06-11 15:05:08 +0100 |
commit | 10bccae2bef473477de45e95e78828a59db82b0f (patch) | |
tree | 82920fdded90e20529c7bf20e1ba16ec00df6da6 /bin/archive | |
parent | be4adbd61ad75572aabf613e5b9e9a54534dcbaf (diff) | |
download | bookup-10bccae2bef473477de45e95e78828a59db82b0f.tar.gz bookup-10bccae2bef473477de45e95e78828a59db82b0f.tar.bz2 |
Fix: make sure the archive folder has some basic links
Diffstat (limited to 'bin/archive')
-rwxr-xr-x | bin/archive | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/archive b/bin/archive index ef77b9d..4b50501 100755 --- a/bin/archive +++ b/bin/archive @@ -23,6 +23,17 @@ fi # Make sure the archive folder exist mkdir -p $ARCHIVE +# Make sure the archive has some basic links +# This allows preservation of symbolic links for each archive version. +( + cd $ARCHIVE &> /dev/null + + ln -sf . archive + for item in slides vendor images LICENSE; do + ln -sf ../$item + done +) + # Check for previous build if [ ! -e "$REVFILE" ]; then echo "# $BASENAME: skipping: revision file not found" |