mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-22 14:52:39 +03:00
20 lines
254 B
Bash
20 lines
254 B
Bash
|
#!/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 ..
|