]> granicus.if.org Git - fortune-mod/commitdiff
fix the debian build
authorShlomi Fish <shlomif@shlomifish.org>
Sun, 15 Aug 2021 06:00:32 +0000 (09:00 +0300)
committerShlomi Fish <shlomif@shlomifish.org>
Sun, 15 Aug 2021 06:00:32 +0000 (09:00 +0300)
use "master" branch

scripts/debian-packaging/build-rinutils-debian-package--using-docker.pl

index 52aea38ca7ac555c9b24a0e6f87d5afce693747c..081a6d73a281e9e55706f5861827e88fc9b02d29 100644 (file)
@@ -16,12 +16,13 @@ my $HOMEDIR = "/home/$USER";
 
 $obj->clean_up();
 $obj->run_docker();
-my $REPO = 'rinutils';
-my $URL  = "https://salsa.debian.org/shlomif-guest/$REPO";
+my $REPO   = 'rinutils';
+my $BRANCH = 'master';
+my $URL    = "https://salsa.debian.org/shlomif-guest/$REPO";
 
 if ( !-e $REPO )
 {
-    $obj->do_system( { cmd => [ "git", "clone", $URL, ] } );
+    $obj->do_system( { cmd => [ "git", "clone", "-b", $BRANCH, $URL, ] } );
 }
 my $cwd = cwd;
 chdir "./$REPO";