File: add-site-info

package info (click to toggle)
t-code 2%3A2.3.1-11
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 2,812 kB
  • sloc: lisp: 10,356; perl: 748; sh: 384; makefile: 138
file content (16 lines) | stat: -rw-r--r-- 198 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

SITE_BASE=$1
SITE_FILE=$2
SITE_DIR=$3

cp $SITE_BASE $SITE_FILE

cat >> $SITE_FILE <<EOF

(defconst tcode-site-data-directory "$SITE_DIR")

(provide 'tc-pre)

;;; tc-pre.el ends here
EOF