Kaydet (Commit) 550df9eb authored tarafından Ali Rıza KESKİN's avatar Ali Rıza KESKİN

fakeroot environment support added

üst 6bc88d1f
#!/bin/bash
if [ "$UID" != "0" ] ; then
if which fakeroot &>/dev/null ; then
exec fakeroot $0 $@
else
echo "Fakeroot not found."
echo "Please install fakeroot or use root."
exit 1
fi
else
if [ "$FAKEROOTKEY" == "" ] ; then
echo "Do you want to continue building with root user? [y/N]"
read -s -n 1 c
if [ "$c" != "Y" ] || [ $c != "y" ] ; then
echo "Operation canceled."
exit 1
fi
fi
fi
export UNIBUILDRC="$HOME/.unibuildrc"
$(env | cut -f 1 -d '=' | grep -v "TARGET" | grep -v "UNIBUILDRC" | grep -v "HOST" | grep -v "DISTRO" | sed "s/^/unset /")
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment