From e549b5686cc1c1bfadf1f78beaf97c17597d9a50 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 23 Feb 2026 19:39:08 +0100 Subject: chore: module and scripts improvements. Signed-off-by: Amlal El Mahrouss --- configure-gcc-n64.pl | 2 +- configure-mingw-n64.pl | 2 +- libs | 1 + scripts/libconf.pl | 18 ++++++++++++++++++ src/nectar | 2 +- tools/libconf.pl | 18 ------------------ 6 files changed, 22 insertions(+), 21 deletions(-) create mode 120000 libs create mode 100644 scripts/libconf.pl delete mode 100644 tools/libconf.pl diff --git a/configure-gcc-n64.pl b/configure-gcc-n64.pl index 1363c49..0f0f29c 100755 --- a/configure-gcc-n64.pl +++ b/configure-gcc-n64.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl -w -require './tools/libconf.pl'; +require './scripts/libconf.pl'; libconf->new(); diff --git a/configure-mingw-n64.pl b/configure-mingw-n64.pl index 18eb96e..53b7a78 100755 --- a/configure-mingw-n64.pl +++ b/configure-mingw-n64.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl -w -require './tools/libconf.pl'; +require './scripts/libconf.pl'; libconf->new(); diff --git a/libs b/libs new file mode 120000 index 0000000..e831038 --- /dev/null +++ b/libs @@ -0,0 +1 @@ +src \ No newline at end of file diff --git a/scripts/libconf.pl b/scripts/libconf.pl new file mode 100644 index 0000000..1a1bc7e --- /dev/null +++ b/scripts/libconf.pl @@ -0,0 +1,18 @@ +#!/usr/bin/perl -w + +package libconf; + +use strict; +use Cwd; + +sub new() { + + if ($ENV{USER} ne "root") { + die "You must be root to run this script.\n"; + } + + system("sh", "git", "submodule", "update", "--init", "--recursive") or die "Git error: $!"; + +} + +"libconf"; \ No newline at end of file diff --git a/src/nectar b/src/nectar index 075ec5e..2557c25 160000 --- a/src/nectar +++ b/src/nectar @@ -1 +1 @@ -Subproject commit 075ec5e6b7f01f0e7dbfa4d79fde0c5030ee34db +Subproject commit 2557c25fbfd07e2019dfa176297719e8870e8500 diff --git a/tools/libconf.pl b/tools/libconf.pl deleted file mode 100644 index 1a1bc7e..0000000 --- a/tools/libconf.pl +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/perl -w - -package libconf; - -use strict; -use Cwd; - -sub new() { - - if ($ENV{USER} ne "root") { - die "You must be root to run this script.\n"; - } - - system("sh", "git", "submodule", "update", "--init", "--recursive") or die "Git error: $!"; - -} - -"libconf"; \ No newline at end of file -- cgit v1.2.3