aboutsummaryrefslogtreecommitdiff
path: root/bin/archive
diff options
context:
space:
mode:
Diffstat (limited to 'bin/archive')
-rwxr-xr-xbin/archive11
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"