From 18b953acc63545125411b7c9a78f322339fbe7bd Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 22 Sep 2009 16:36:42 +0000 Subject: Libbu++ get's a checkinst script, why can't build? --- checkinst.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 checkinst.sh diff --git a/checkinst.sh b/checkinst.sh new file mode 100755 index 0000000..d6da889 --- /dev/null +++ b/checkinst.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +CMD="ln -svf $PWD/build /usr/bin; ln -svf $PWD/bfilt-c++ /usr/bin" + +if [ $UID == 0 ]; then + bash -c "$CMD" +else + echo This script needs root access... + su root -c "$CMD" +fi -- cgit v1.2.3