Projet

Général

Profil

Révision f00c44d8

IDf00c44d8af918b3a67bfbec36e99755ba3612c2b
Parent 3b371ba0
Enfant 46b8c896

Ajouté par Christoph Krybus il y a presque 14 ans

Fix for database name containing underscore(s).

Voir les différences:

plugins/other/postgres_queries2_
1 1
#!/bin/bash
2 2

  
3 3

  
4
db="${0/*_/}"
4
db=$(basename $0 | sed 's/^postgres_queries2_//g')
5 5
if [ "$db" == "" ];then
6 6
	echo	"error/no db" >&2
7 7
	exit 1

Formats disponibles : Unified diff