source: app/dist/common/prepare_conf.sh @ 3748bd1

help
Last change on this file since 3748bd1 was 9b57c4d, checked in by pawelk <pawelk@…>, 17 years ago

Kilka zmian technicznych, troche porzadku oraz uaktualnienie dystrybucji dla rpma.

git-svn-id: svn://atos.wmid.amu.edu.pl/utt@48 e293616e-ec6a-49c2-aa92-f4a8b91c5d16

  • Property mode set to 100755
File size: 235 bytes
Line 
1#!/bin/sh
2
3if test 3 -ne $#
4then
5        echo "Usage: " `basename $0` src_conf_dir dest_conf_dir replacement
6else
7        POLEC="s/PATH_PREFIX/$3/g"
8
9        for FN in `ls $1/*.conf`
10        do
11            BN=`basename ${FN}`
12            sed ${POLEC} ${FN} > $2/${BN}
13        done
14fi
Note: See TracBrowser for help on using the repository browser.