summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-01-26 18:55:13 +0000
committerLars Wirzenius <liw@liw.fi>2014-01-26 18:55:13 +0000
commitf98d9a63ab3f5aba5b14defb128125fb7c8fb5ba (patch)
treeedb6db9173d40949e780a1d399ffb82aec847a95
parent8a5aec197cbd248bc9c83d6185df6c8ac5e93888 (diff)
downloadobnam-f98d9a63ab3f5aba5b14defb128125fb7c8fb5ba.tar.gz
Make all scripts use #!/usr/bin/env python
-rwxr-xr-xanalyze-repository-files2
-rwxr-xr-xcheck-lock-usage-from-log2
-rwxr-xr-xcreate-reference-repo2
-rwxr-xr-xdumpobjs2
-rwxr-xr-xfind-duplicate-chunks2
-rwxr-xr-xlock-and-increment2
-rwxr-xr-xmeliae-show2
-rwxr-xr-xmetadata-speed2
-rwxr-xr-xmkfunnyfarm2
-rwxr-xr-xmksparse2
-rwxr-xr-xobnam2
-rwxr-xr-xobnam-benchmark2
-rwxr-xr-xobnam-viewprof2
-rwxr-xr-xread-live-data-with-sftp2
-rw-r--r--setup.py2
-rw-r--r--test-gpghome/random_seedbin600 -> 600 bytes
-rwxr-xr-xtest-sftpfs2
-rwxr-xr-xtry-node-chunk-sizes-plot-results2
18 files changed, 17 insertions, 17 deletions
diff --git a/analyze-repository-files b/analyze-repository-files
index d4ebaf70..cacc9949 100755
--- a/analyze-repository-files
+++ b/analyze-repository-files
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Copyright 2011 Lars Wirzenius
#
# This program is free software: you can redistribute it and/or modify
diff --git a/check-lock-usage-from-log b/check-lock-usage-from-log
index 44a0197d..8d113bd2 100755
--- a/check-lock-usage-from-log
+++ b/check-lock-usage-from-log
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Copyright 2012 Lars Wirzenius
#
# This program is free software: you can redistribute it and/or modify
diff --git a/create-reference-repo b/create-reference-repo
index 27ac6280..9b9e2a7f 100755
--- a/create-reference-repo
+++ b/create-reference-repo
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Copyright 2013 Lars Wirzenius
#
# This program is free software: you can redistribute it and/or modify
diff --git a/dumpobjs b/dumpobjs
index d30aba4b..aa26f9e7 100755
--- a/dumpobjs
+++ b/dumpobjs
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Copyright (C) 2009 Lars Wirzenius
#
# This program is free software: you can redistribute it and/or modify
diff --git a/find-duplicate-chunks b/find-duplicate-chunks
index 5990b3d7..a9f0b8e5 100755
--- a/find-duplicate-chunks
+++ b/find-duplicate-chunks
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# Report duplicate chunks of data in a filesystem.
diff --git a/lock-and-increment b/lock-and-increment
index af261775..ba2bf9e9 100755
--- a/lock-and-increment
+++ b/lock-and-increment
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Copyright 2012 Lars Wirzenius
#
# This program is free software: you can redistribute it and/or modify
diff --git a/meliae-show b/meliae-show
index 002927f3..7dc98a17 100755
--- a/meliae-show
+++ b/meliae-show
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
from meliae import loader
diff --git a/metadata-speed b/metadata-speed
index 51d94405..f152614b 100755
--- a/metadata-speed
+++ b/metadata-speed
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Copyright 2010 Lars Wirzenius
#
# This program is free software: you can redistribute it and/or modify
diff --git a/mkfunnyfarm b/mkfunnyfarm
index 5d4163ee..4508a9d3 100755
--- a/mkfunnyfarm
+++ b/mkfunnyfarm
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Copyright 2013 Lars Wirzenius
#
# This program is free software: you can redistribute it and/or modify
diff --git a/mksparse b/mksparse
index 6c1a2cff..f56dd856 100755
--- a/mksparse
+++ b/mksparse
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Copyright 2013 Lars Wirzenius
#
# This program is free software: you can redistribute it and/or modify
diff --git a/obnam b/obnam
index 56083b7e..282e31ba 100755
--- a/obnam
+++ b/obnam
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Copyright (C) 2009 Lars Wirzenius
#
# This program is free software: you can redistribute it and/or modify
diff --git a/obnam-benchmark b/obnam-benchmark
index c522662f..d5dc3dc1 100755
--- a/obnam-benchmark
+++ b/obnam-benchmark
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# Copyright 2010, 2011 Lars Wirzenius
#
diff --git a/obnam-viewprof b/obnam-viewprof
index 2e88978c..a98e258f 100755
--- a/obnam-viewprof
+++ b/obnam-viewprof
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Copyright 2010 Lars Wirzenius
#
# This program is free software: you can redistribute it and/or modify
diff --git a/read-live-data-with-sftp b/read-live-data-with-sftp
index fc2a1c57..6111c126 100755
--- a/read-live-data-with-sftp
+++ b/read-live-data-with-sftp
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Copyright 2012 Lars Wirzenius
#
# This program is free software: you can redistribute it and/or modify
diff --git a/setup.py b/setup.py
index dcb0acce..86263e8b 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Copyright (C) 2008-2012 Lars Wirzenius <liw@liw.fi>
#
# This program is free software; you can redistribute it and/or modify
diff --git a/test-gpghome/random_seed b/test-gpghome/random_seed
index e794b659..260a2936 100644
--- a/test-gpghome/random_seed
+++ b/test-gpghome/random_seed
Binary files differ
diff --git a/test-sftpfs b/test-sftpfs
index 4b8e6c39..dfd1b1b0 100755
--- a/test-sftpfs
+++ b/test-sftpfs
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Copyright 2010 Lars Wirzenius
#
# This program is free software: you can redistribute it and/or modify
diff --git a/try-node-chunk-sizes-plot-results b/try-node-chunk-sizes-plot-results
index d114d05d..4ea3a477 100755
--- a/try-node-chunk-sizes-plot-results
+++ b/try-node-chunk-sizes-plot-results
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import ConfigParser
import re