gnomeos-install.sh: retrieve full path to srcdir

This fixes the installation of the grub2 script.
This commit is contained in:
Carl-Anton Ingmarsson 2012-04-17 22:01:49 +02:00
parent 255b7d1309
commit 99803babd9
1 changed files with 3 additions and 1 deletions

View File

@ -22,8 +22,10 @@
set -e
set -x
SRCDIR=`dirname $0`
WORKDIR=`pwd`
cd `dirname $0`
SRCDIR=`pwd`
cd $WORKDIR
if test $(id -u) != 0; then
cat <<EOF