fixup-makefile.pl: fixup when PKG_SOURCE is defined elsewhere
authorYousong Zhou <yszhou4tech@gmail.com>
Tue, 3 Jul 2018 07:37:49 +0000 (15:37 +0800)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 08:44:04 +0000 (09:44 +0100)
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(backported from eb6759cc786b9a5fe1425364fc54212a425ff0be)

scripts/fixup-makefile.pl

index 9026ddcce4d6b2f13e53d5de9f7bdad2661b872c..b6f1c74738002c5c834a59925c9e20af75bd4ed0 100755 (executable)
@@ -26,7 +26,7 @@ sub set_var($) {
                $state{related_var} = "URL";
        } else {
                $state{context} = 1;
-               $state{related_var} = "PKG_SOURCE";
+               $state{related_var} = "PKG_SOURCE_URL";
        }
 }