]> git.nbdom.net Git - nb.git/commitdiff
nb-repos-dir
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Sun, 17 Jan 2016 01:22:01 +0000 (01:22 +0000)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Sun, 17 Jan 2016 01:22:01 +0000 (01:22 +0000)
bin/nb-repo-dirs

index 3900204853f2f8602d8a9b109d3eab22d38d25e4..3deac69aa3f625e303ad41c8d62dec4958fc9896 100755 (executable)
@@ -9,7 +9,7 @@ use File::Spec;
 use Cwd;
 use File::Basename;
 my @DIRS = (
-       dirname ( File::Spec->rel2abs( Cwd::abs_path(__FILE__) ) ),
+       dirname ( dirname ( File::Spec->rel2abs( Cwd::abs_path(__FILE__) ) ) ),
        '/opt/backup_servers',
        '/{opt,home/www}/rent',
        'root:/etc/puppet',