gnomeos-install.sh: retrieve full path to srcdir
This fixes the installation of the grub2 script.
This commit is contained in:
1 parent
255b7d1309
commit
99803babd9
1 file changed
+3
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user