www.nico.schottelius.org/software/cinit/browse_source/cinit-0.3pre16/scripts/build/cinit.configure.os
Nico Schottelius 0c13ed6979 add cinit-0.3pre16
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-09-29 21:36:27 +02:00

15 lines
290 B
Text
Executable file

#!/bin/sh
# Nico Schottelius
# cinit: setups symlinks for the os
#
DDIR=$(dirname $0)/../../src/os
DFILE="$DDIR/current"
OSCONFIG=$(dirname $0)/../../conf/os
OS=$(head -n 1 "$OSCONFIG")
echo "Configure: OS: Binaries are created for $OS ..."
rm -f "${DFILE}"
ln -sf "${OS}" "${DFILE}"