summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-06-12 19:22:55 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-06-12 19:22:55 +0000
commit255e6a99b6541414b004eefe07e8fc633c3adea7 (patch)
treea5972827d1237fd7943261e535816d6abaed45a3
parentb19cdf9d4d7b047e8f9ceead976e8d07a38dc601 (diff)
Remove GNUism from sed calls
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1271 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r--sl2ls.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/sl2ls.sh b/sl2ls.sh
index 531b8512..85df5c6d 100644
--- a/sl2ls.sh
+++ b/sl2ls.sh
@@ -20,8 +20,8 @@ psql template1 -c "DROP DATABASE ${LSDB};"
pg_dump ${SLDB} > sl2ls.sql
-sed -i -e "s/${SLOWN}/${LSOWN}/" sl2ls.sql
-sed -i -e "s/SQL_ASCII/LATIN1/" sl2ls.sql
+sed -i.orig -e "s/${SLOWN}/${LSOWN}/" sl2ls.sql
+sed -i.orig -e "s/SQL_ASCII/LATIN1/" sl2ls.sql
createdb -O ${LSOWN} ${LSDB}