~j49137/gcedit/gcedit

6 by Joseph Lansdowne
build/install system
1
#! /bin/bash
2
3
# create a copy of the main script that knows where stuff is installed
4
# (apparently distutils won't put anything in Python's home dir to let it know
5
# where packages are installed if elsewhere)
6
7
script=run_gcedit
8
tmp_script=."$script".tmp
37 by Joseph Lansdowne
have filename and indicate whether changed in editor title
9
sed "s:^_LIB_PREFIX.*$:_LIB_PREFIX = '$1':" < "$script" > "$tmp_script"