Guest User

Untitled

a guest
May 24th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.04 KB | None | 0 0
  1. --- TrustedGRUB-1.1.5_ORG/build_tgrub.sh    2010-08-10 15:16:42.000000000 +0200
  2. +++ TrustedGRUB-1.1.5/build_tgrub.sh    2012-01-14 11:03:04.827373514 +0100
  3. @@ -19,6 +19,7 @@
  4.  if test -f ./${TRUSTEDGRUB_ARCHIVE}; then
  5.      tar -xpzf ${TRUSTEDGRUB_ARCHIVE}
  6.      if [ $? != 0 ]; then exit 1; fi
  7. +    find ./$TRUSTEDGRUB_VERSION -name *.am -exec sed -i 's/pkglib_DATA/pkgdata_DATA/g' {} \;
  8.  else
  9.      echo "TrustedGRUB sources not present"
  10.      exit -1
  11. @@ -37,9 +38,9 @@
  12.      automake >& $VERBOSE
  13.      if [ $? != 0 ]; then exit 503; fi
  14.      if [[ $SHOWSHA1 ]] ; then
  15. -       ./configure CFLAGS="-DSHOW_SHA1" >& $VERBOSE
  16. +       ./configure --datadir=/usr/lib --datarootdir=/usr/share --prefix=/usr --bindir=/bin --sbindir=/sbin --mandir=/usr/share/man --infodir=/usr/share/info CFLAGS="-DSHOW_SHA1" >& $VERBOSE
  17.      else
  18. -   ./configure >& $VERBOSE
  19. +   ./configure --datadir=/usr/lib --datarootdir=/usr/share --prefix=/usr --bindir=/bin --sbindir=/sbin --mandir=/usr/share/man --infodir=/usr/share/info >& $VERBOSE
  20.      fi
  21.      if [ $? != 0 ]; then exit 504; fi
  22.  fi
Add Comment
Please, Sign In to add comment