register_package: fixes skip detection error master
authorVincent Dahmen <wahrwolf@wolfpit.net>
Mon, 5 Apr 2021 17:21:15 +0000 (19:21 +0200)
committerVincent Dahmen <wahrwolf@wolfpit.net>
Mon, 5 Apr 2021 17:21:15 +0000 (19:21 +0200)
register_package.sh

index 372a981d19800ded24f9c0f0abeddad9f7bff05c..97ec128406df222c323169c96525dbd8b38798d0 100755 (executable)
@@ -6,7 +6,7 @@ pkg_dir=${SRCDIR:-build}/$(basename "$1")
 pkg_path=$(cd "$pkg_dir" && makepkg --packagelist)
 pkg_version=$(basename "$pkg_path")
 
-if [[ $(< "$pkg_dir/$VERSION_FILE") != "$SKIP_TAG" ]]
+if [[ $(< "$pkg_dir/$VERSION_FILE") == "$SKIP_TAG" ]]
 then
        echo Found "$SKIP_TAG in $pkg_dir/$VERSION_FILE"
        echo Skipping "$pkg_dir"