From 99803babd984f300882ea5a63e18b335639ad1fb Mon Sep 17 00:00:00 2001 From: Carl-Anton Ingmarsson Date: Tue, 17 Apr 2012 22:01:49 +0200 Subject: [PATCH] gnomeos-install.sh: retrieve full path to srcdir This fixes the installation of the grub2 script. --- gnomeos/gnomeos-install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnomeos/gnomeos-install.sh b/gnomeos/gnomeos-install.sh index 649b750e..1b7cc783 100755 --- a/gnomeos/gnomeos-install.sh +++ b/gnomeos/gnomeos-install.sh @@ -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 <