gnomeos-install.sh: retrieve full path to srcdir

This fixes the installation of the grub2 script.
This commit is contained in:
Carl-Anton Ingmarsson committed 2012-04-17 22:01:49 +02:00
1 parent 255b7d1309
commit 99803babd9
1 file changed
+3 -1
+3 -1
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