1
0
mirror of https://github.com/sellout/emacs-color-theme-solarized.git synced 2024-06-21 07:06:42 +02:00
emacs-color-theme-solarized/makepkg.sh
2011-11-21 00:50:09 +01:00

18 lines
309 B
Bash
Executable File

#!/usr/bin/env bash
version=$1
if [ "$version" = "" ]; then
version=$(date -u '+%Y%m%d')
fi
echo "version = $version"
dir="color-theme-solarized-${version}"
mkdir $dir
cp *.el $dir
sed -i "s/%%version%%/$version/" "$dir/color-theme-solarized-pkg.el"
tar cf color-theme-solarized-${version}.tar $dir