File: fixture-tablespace-cleanup

package info (click to toggle)
osm2pgsql 2.1.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 6,652 kB
  • sloc: cpp: 59,934; python: 1,039; ansic: 763; sh: 25; makefile: 14
file content (11 lines) | stat: -rwxr-xr-x 226 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
#
# Remove any custom tablespaces we might have created.

BASEDIR=`pwd`

TBLDIR=${BASEDIR}/osm2pgsql-test-tablespace

if [ -d "$TBLDIR" ]; then
    find $TBLDIR -maxdepth 1 -mindepth 1 -type d -name 'PG*' -delete
fi