NitroXy/import-test — Issue #278: create_migration.php skapar filerna i mapp relativ till current directory
Author: ext
Created: 2012-01-28 21:45:48+00:00
State: open

```
Automatically imported from Trac.
Originally reported by 'slafs' as #276.
```

```
slafs@Gnocchi.local ttys001 ~/Sites/projekt-extsvn/nitroxy-unstable/branches/accounting_reports/migrations
[0] 23:54 % php create_migration.php accounting_reports % Lör 27 Aug 2011 [0]
PHP Warning: fopen(migrations/20110827235625_accounting_reports.sql): failed to open stream: No such file or directory in /Users/slafs/Sites/projekt-extsvn/nitroxy-unstable/branches/accounting_reports/migrations/create_migration.php on line 12

Warning: fopen(migrations/20110827235625_accounting_reports.sql): failed to open stream: No such file or directory in /Users/slafs/Sites/projekt-extsvn/nitroxy-unstable/branches/accounting_reports/migrations/create_migration.php on line 12
PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /Users/slafs/Sites/projekt-extsvn/nitroxy-unstable/branches/accounting_reports/migrations/create_migration.php on line 20

Warning: fclose() expects parameter 1 to be resource, boolean given in /Users/slafs/Sites/projekt-extsvn/nitroxy-unstable/branches/accounting_reports/migrations/create_migration.php on line 20
Created migration migrations/20110827235625_accounting_reports.sql
slafs@Gnocchi.local ttys001 ~/Sites/projekt-extsvn/nitroxy-unstable/branches/accounting_reports/migrations
[0] 23:56 % cd .. % Lör 27 Aug 2011 [0]
slafs@Gnocchi.local ttys001 ~/Sites/projekt-extsvn/nitroxy-unstable/branches/accounting_reports
[0] 23:57 % migrations/create_migration.php accounting_reports % Lör 27 Aug 2011 [0]
Created migration migrations/20110827235707_accounting_reports.sql
```

Det borde funka likadant oavsett var jag står.