gnomeos-install.sh: retrieve full path to srcdir
This fixes the installation of the grub2 script.
This commit is contained in:
parent
255b7d1309
commit
99803babd9
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue