From d08519918c36f9aed1c7a93c0920c0b8b4956c35 Mon Sep 17 00:00:00 2001 From: Lizzy Hunt Date: Tue, 2 May 2023 11:07:53 -0600 Subject: [PATCH] Forgot executable bit rip --- scripts/install_emacs.sh | 4 ---- 1 file changed, 4 deletions(-) mode change 100644 => 100755 scripts/install_emacs.sh diff --git a/scripts/install_emacs.sh b/scripts/install_emacs.sh old mode 100644 new mode 100755 index 467dd57..041ead1 --- a/scripts/install_emacs.sh +++ b/scripts/install_emacs.sh @@ -1,7 +1,6 @@ #!/bin/sh [ -z "$EMACS_VERSION" ] && echo "Usage: EMACS_VERSION=25.1 install-emacs.sh or EMACS_VERSION=snapshot install-emacs.sh" && exit 1 [ -z "$EMACS_URL" ] && EMACS_URL="http://mirror.aarnet.edu.au/pub/gnu/emacs/" -# I've assign 12G memory to /tmp as ramdisk [ -z "$EMACS_TMP" ] && EMACS_TMP="/tmp" if [ "$EMACS_VERSION" != "snapshot" ]; then @@ -9,9 +8,6 @@ if [ "$EMACS_VERSION" != "snapshot" ]; then curl $EMACS_URL/emacs-$EMACS_VERSION.tar.gz | tar xvz -C $EMACS_TMP fi -# @see http://wiki.gentoo.org/wiki/Project:Emacs/GNU_Emacs_developer_guide -# @see http://packages.gentoo.org/package/app-editors/emacs for info on Gentoo Linux -# --without-gtk and --without-gtk3 is optional echo "Installing Emacs ..." if [ "$EMACS_VERSION" = "snapshot" ]; then cd $HOME/projs/emacs && mkdir -p $HOME/myemacs/snapshot && rm -rf $HOME/myemacs/snapshot/* && ./autogen.sh && ./configure CFLAGS=-no-pie --prefix=$HOME/myemacs/snapshot --without-x --without-dbus --without-sound --with-gnutls=no && make -j6 && make install