elks-enhanced
public
Read
Owner: themaster
Branch: master
Commits: 6893
Updated: 2026-04-19 00:15
Git CLI clone URL
git clone https://www.xt-emporium.com/git/elks-enhanced.git
Fullscreen desktop URL
Code
Commits
History
Branches
Bug Reports
Discussions
Compare
Settings
elks-enhanced
/
elkscmd
/
unused
/
nano
/
ncurses-5.2
/
headers.sh
File editor
#! /bin/sh # This shell script is generated by the 'configure' script. It is invoked in a # subdirectory of the build tree. It generates a sed-script in the parent # directory that is used to adjust includes for header files that reside in a # subdirectory of /usr/include, etc. PRG="" while test $# != 3 do PRG="$PRG $1"; shift done DST=$1 REF=$2 SRC=$3 TMPSRC=${TMPDIR-/tmp}/`basename $SRC`$$ TMPSED=${TMPDIR-/tmp}/headers.sed$$ echo installing $SRC in $DST case $DST in /*/include/*) END=`basename $DST` for i in `cat $REF/../*/headers |fgrep -v "#"` do NAME=`basename $i` if test "$NAME" = "curses.h" then echo "s/<curses.h>/<ncurses.h>/" >> $TMPSED NAME=ncurses.h fi echo "s/<$NAME>/<$END\/$NAME>/" >> $TMPSED done ;; *) echo "s/<curses.h>/<ncurses.h>/" >> $TMPSED ;; esac rm -f $TMPSRC sed -f $TMPSED $SRC > $TMPSRC NAME=`basename $SRC` test "$NAME" = "curses.h" && NAME=ncurses.h eval $PRG $TMPSRC $DST/$NAME rm -f $TMPSRC $TMPSED
Commit message
This repository is read-only for this account.
Repository snapshot
Current branch
master
Visibility
public
Your access
Read
Remote
Configured
File activity
View file history