kolibrios-fun/programs/games/lrl/dist.sh
bw a5131135c4 LRL 1.4b
git-svn-id: svn://kolibrios.org@762 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-29 17:36:25 +00:00

20 lines
254 B
Bash
Executable File

#!/bin/sh
BIN="`pwd`/bin"
DIST="dist"
if ! [ -d $DIST ]; then
mkdir $DIST; fi
cd $DIST
rm -rf *
mkdir lrl
for name in $BIN/*; do
cp "$name" "lrl/`echo \`basename \"$name\"\` | tr [A-Z] [a-z]`"; done
tar cf - lrl | bzip2 -9f > lrl.tar.bz2
cd ..