aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-12-05 17:50:29 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-12-05 17:50:29 +0000
commit365f3028ddfb5487f35ebbb9adc42ddf9459113d (patch)
tree211e4ba436ffa2f2badb458386864968837e3aff
parentf42a505ab71ba421797ac511e1221ccbefef8ab9 (diff)
* Use CamelCase for the Perl modules.
-rwxr-xr-xscripts/GeneratePatches.pm.in1
-rw-r--r--scripts/Makefile.am20
-rw-r--r--scripts/NixConfig.pm.in (renamed from scripts/readconfig.pm.in)0
-rw-r--r--scripts/NixManifest.pm.in (renamed from scripts/readmanifest.pm.in)0
-rw-r--r--scripts/SSH.pm (renamed from scripts/ssh.pm)0
-rwxr-xr-xscripts/build-remote.pl.in2
-rw-r--r--scripts/download-using-manifests.pl.in2
-rw-r--r--scripts/nix-copy-closure.in2
-rw-r--r--scripts/nix-generate-patches.in2
-rw-r--r--scripts/nix-pull.in2
-rw-r--r--scripts/nix-push.in2
-rw-r--r--tests/init.sh4
12 files changed, 18 insertions, 19 deletions
diff --git a/scripts/GeneratePatches.pm.in b/scripts/GeneratePatches.pm.in
index bb7111f8e..2d2653255 100755
--- a/scripts/GeneratePatches.pm.in
+++ b/scripts/GeneratePatches.pm.in
@@ -2,7 +2,6 @@
use strict;
use File::Temp qw(tempdir);
-use readmanifest;
# Some patch generations options.
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 5f20dcfaf..60bb0a9b8 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -7,17 +7,17 @@ noinst_SCRIPTS = nix-profile.sh GeneratePatches.pm \
find-runtime-roots.pl build-remote.pl nix-reduce-build \
copy-from-other-stores.pl nix-http-export.cgi
-nix-pull nix-push: readmanifest.pm readconfig.pm download-using-manifests.pl
+nix-pull nix-push: NixManifest.pm NixConfig.pm download-using-manifests.pl
-install-exec-local: readmanifest.pm download-using-manifests.pl copy-from-other-stores.pl find-runtime-roots.pl
+install-exec-local: NixManifest.pm GeneratePatches.pm download-using-manifests.pl copy-from-other-stores.pl find-runtime-roots.pl
$(INSTALL) -d $(DESTDIR)$(sysconfdir)/profile.d
$(INSTALL_PROGRAM) nix-profile.sh $(DESTDIR)$(sysconfdir)/profile.d/nix.sh
$(INSTALL) -d $(DESTDIR)$(libexecdir)/nix
- $(INSTALL_DATA) readmanifest.pm $(DESTDIR)$(libexecdir)/nix
- $(INSTALL_DATA) readconfig.pm $(DESTDIR)$(libexecdir)/nix
- $(INSTALL_DATA) ssh.pm $(DESTDIR)$(libexecdir)/nix
+ $(INSTALL_DATA) NixManifest.pm $(DESTDIR)$(libexecdir)/nix
+ $(INSTALL_DATA) NixConfig.pm $(DESTDIR)$(libexecdir)/nix
+ $(INSTALL_DATA) SSH.pm $(DESTDIR)$(libexecdir)/nix
+ $(INSTALL_DATA) GeneratePatches.pm $(DESTDIR)$(libexecdir)/nix
$(INSTALL_PROGRAM) find-runtime-roots.pl $(DESTDIR)$(libexecdir)/nix
- $(INSTALL_PROGRAM) GeneratePatches.pm $(DESTDIR)$(libexecdir)/nix
$(INSTALL_PROGRAM) build-remote.pl $(DESTDIR)$(libexecdir)/nix
$(INSTALL) -d $(DESTDIR)$(libexecdir)/nix/substituters
$(INSTALL_PROGRAM) download-using-manifests.pl $(DESTDIR)$(libexecdir)/nix/substituters
@@ -30,13 +30,13 @@ EXTRA_DIST = nix-collect-garbage.in \
nix-pull.in nix-push.in nix-profile.sh.in \
nix-prefetch-url.in nix-install-package.in \
nix-channel.in \
- readmanifest.pm.in \
- readconfig.pm.in \
- ssh.pm \
+ NixManifest.pm.in \
+ NixConfig.pm.in \
+ SSH.pm \
+ GeneratePatches.pm.in \
nix-build.in \
download-using-manifests.pl.in \
copy-from-other-stores.pl.in \
- GeneratePatches.pm.in \
nix-copy-closure.in \
find-runtime-roots.pl.in \
build-remote.pl.in \
diff --git a/scripts/readconfig.pm.in b/scripts/NixConfig.pm.in
index aeb443aee..aeb443aee 100644
--- a/scripts/readconfig.pm.in
+++ b/scripts/NixConfig.pm.in
diff --git a/scripts/readmanifest.pm.in b/scripts/NixManifest.pm.in
index be0dda616..be0dda616 100644
--- a/scripts/readmanifest.pm.in
+++ b/scripts/NixManifest.pm.in
diff --git a/scripts/ssh.pm b/scripts/SSH.pm
index 44a0e6f31..44a0e6f31 100644
--- a/scripts/ssh.pm
+++ b/scripts/SSH.pm
diff --git a/scripts/build-remote.pl.in b/scripts/build-remote.pl.in
index f9bff9c41..c551f6360 100755
--- a/scripts/build-remote.pl.in
+++ b/scripts/build-remote.pl.in
@@ -3,7 +3,7 @@
use Fcntl ':flock';
use English '-no_match_vars';
use IO::Handle;
-use ssh qw/sshOpts openSSHConnection/;
+use SSH qw/sshOpts openSSHConnection/;
no warnings('once');
diff --git a/scripts/download-using-manifests.pl.in b/scripts/download-using-manifests.pl.in
index c50f540f3..47ff09e60 100644
--- a/scripts/download-using-manifests.pl.in
+++ b/scripts/download-using-manifests.pl.in
@@ -1,7 +1,7 @@
#! @perl@ -w -I@libexecdir@/nix
use strict;
-use readmanifest;
+use NixManifest;
use POSIX qw(strftime);
use File::Temp qw(tempdir);
diff --git a/scripts/nix-copy-closure.in b/scripts/nix-copy-closure.in
index a477cc01a..1f1fded36 100644
--- a/scripts/nix-copy-closure.in
+++ b/scripts/nix-copy-closure.in
@@ -1,6 +1,6 @@
#! @perl@ -w -I@libexecdir@/nix
-use ssh;
+use SSH;
my $binDir = $ENV{"NIX_BIN_DIR"} || "@bindir@";
diff --git a/scripts/nix-generate-patches.in b/scripts/nix-generate-patches.in
index d22098a10..c96cc704a 100644
--- a/scripts/nix-generate-patches.in
+++ b/scripts/nix-generate-patches.in
@@ -2,7 +2,7 @@
use strict;
use File::Temp qw(tempdir);
-use readmanifest;
+use NixManifest;
use GeneratePatches;
if (scalar @ARGV != 5) {
diff --git a/scripts/nix-pull.in b/scripts/nix-pull.in
index e2a0cc1fa..f3b533ff7 100644
--- a/scripts/nix-pull.in
+++ b/scripts/nix-pull.in
@@ -2,7 +2,7 @@
use strict;
use File::Temp qw(tempdir);
-use readmanifest;
+use NixManifest;
my $tmpDir = tempdir("nix-pull.XXXXXX", CLEANUP => 1, TMPDIR => 1)
or die "cannot create a temporary directory";
diff --git a/scripts/nix-push.in b/scripts/nix-push.in
index 6760baa7e..1d8ba86a8 100644
--- a/scripts/nix-push.in
+++ b/scripts/nix-push.in
@@ -2,7 +2,7 @@
use strict;
use File::Temp qw(tempdir);
-use readmanifest;
+use NixManifest;
my $hashAlgo = "sha256";
diff --git a/tests/init.sh b/tests/init.sh
index 719d12d6f..104da432e 100644
--- a/tests/init.sh
+++ b/tests/init.sh
@@ -38,7 +38,7 @@ ln -s $bzip2_bin_test/bunzip2 $NIX_BIN_DIR/nix/
ln -s $TOP/scripts/copy-from-other-stores.pl $NIX_BIN_DIR/nix/
ln -s $TOP/scripts/download-using-manifests.pl $NIX_BIN_DIR/nix/
ln -s $TOP/scripts/GeneratePatches.pm $NIX_BIN_DIR/nix/
-ln -s $TOP/scripts/readmanifest.pm $NIX_BIN_DIR/nix/
+ln -s $TOP/scripts/NixManifest.pm $NIX_BIN_DIR/nix/
cat > "$NIX_CONF_DIR"/nix.conf <<EOF
gc-keep-outputs = false
@@ -62,7 +62,7 @@ for i in \
$NIX_BIN_DIR/nix-push \
$NIX_BIN_DIR/nix-pull \
$NIX_BIN_DIR/nix-generate-patches \
- $NIX_BIN_DIR/nix/readmanifest.pm \
+ $NIX_BIN_DIR/nix/NixManifest.pm \
$NIX_BIN_DIR/nix/GeneratePatches.pm \
; do
sed < $i > $i.tmp \