index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2021-06-05 20:26:21 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-06-05 20:26:21 +0200 |
commit | 6f59df0faa06e9e5b2127d8376b12bb1cf2db5fd (patch) | |
tree | b380377a92c28beb05b8b249905b684fe4a7cd9e /bin/clean-dependencies | |
parent | 8e9130a9d21a2d73f8c354e2a3f1d9ccc6f7ea73 (diff) |
-rwxr-xr-x | bin/clean-dependencies | 2 |
diff --git a/bin/clean-dependencies b/bin/clean-dependencies index 82d49b3..63e9a9a 100755 --- a/bin/clean-dependencies +++ b/bin/clean-dependencies @@ -67,7 +67,7 @@ trap 'rm "${deps_file}"' EXIT printf 'INSERT IGNORE INTO `bps`(`bp`)' printf ' SELECT `deps`.`bp`' printf ' FROM `deps`;\n' - if [ $# -eq 1 ] && [ "x$1" = 'x-f' ]; then + if [ $# -eq 1 ] && [ "$1" = '-f' ]; then printf 'DELETE `dependencies`' else printf 'SELECT *' |