speed-dreams-code/packaging/loki/setup.data/scripts/core_finalize.sh
pouillot ab7fdf50c5 moved current packaging tools from 'installer' to 'packaging' + added new ones for building source packages
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4442 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2f7d8d5adecc2d0e5d0c5160d8a9eea3d1a98a26
Former-commit-id: 3753a3e3a2db28d069bd8d0e2ee320a7b6045a8d
2012-01-21 18:13:59 +00:00

19 lines
278 B
Bash
Executable file

#!/bin/bash
#
# Set up path in Speed Dreams startup script.
shopt -s extglob
fn=${SETUP_INSTALLPATH}/speed-dreams
# rip off last "/"
ip=${SETUP_INSTALLPATH/%\//}
# replace all "/" with "\/" to use with regexp.
fn2=${ip//\//\\\/}
ed -s $fn <<EOF
,s/@prefix@/$fn2/g
,wq
EOF