all repos — gemini-redirect @ 0b267f51260b59f9c40f193d688f4c01f696328f

genblog.sh (view raw)

 1#!/bin/bash
 2
 3rm -rf blog
 4cp -r content /dev/shm
 5pushd /dev/shm
 6
 7    mv content/{ribw,mdad} .
 8    cp content/style.css ribw
 9    cp content/style.css mdad
10
11    pagong
12    mv dist blog
13    rm -r content
14
15    mv ribw content
16    pagong
17    mv dist blog/ribw
18    rm -r content
19
20    mv mdad content
21    pagong
22    mv dist blog/mdad
23    rm -r content
24
25popd
26mv /dev/shm/blog .