diff options
-rw-r--r-- | src/lib/blacklist.sh | 2 | ||||
-rw-r--r-- | src/librefetch/librefetch-install.in | 2 | ||||
-rwxr-xr-x | src/librefetch/librefetchdir/makepkg.gen | 2 | ||||
-rwxr-xr-x | src/pkgbuild-summarize-nonfree | 3 |
4 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/blacklist.sh b/src/lib/blacklist.sh index 0a3cc39..5654f93 100644 --- a/src/lib/blacklist.sh +++ b/src/lib/blacklist.sh @@ -34,7 +34,7 @@ blacklist-cat() { local file="$XDG_CACHE_HOME/libretools/blacklist.txt" if ! [[ -e $file ]]; then # exit on failure, whether set -e or not - blacklist-update || return $? + blacklist-update || return fi blacklist-normalize < "$file" } diff --git a/src/librefetch/librefetch-install.in b/src/librefetch/librefetch-install.in index 23c1928..54ffad4 100644 --- a/src/librefetch/librefetch-install.in +++ b/src/librefetch/librefetch-install.in @@ -62,7 +62,7 @@ post_install() { print ":: %s: ... but it's an old version" "${0##*/}" pre_remove "$file" post_install "$file" - return $? + return fi done else diff --git a/src/librefetch/librefetchdir/makepkg.gen b/src/librefetch/librefetchdir/makepkg.gen index 8928d91..3655e7f 100755 --- a/src/librefetch/librefetchdir/makepkg.gen +++ b/src/librefetch/librefetchdir/makepkg.gen @@ -30,7 +30,7 @@ # - take the files that would be included in the tarball, and use # find/sort/--files-from to order them for bsdtar s/bsdtar(.*) - ([^|]*) \|/find \2 -print0 | LC_ALL=C sort --zero-terminated | bsdtar --null --files-from - --format=ustar --no-recursion \1 - |/ - s/create_signature .*/&; return $?/ # do not procede to create symlinks + s/create_signature .*/&; return/ # do not procede to create symlinks } s|Making package:|Making source:| diff --git a/src/pkgbuild-summarize-nonfree b/src/pkgbuild-summarize-nonfree index 1e39e87..749617b 100755 --- a/src/pkgbuild-summarize-nonfree +++ b/src/pkgbuild-summarize-nonfree @@ -67,8 +67,7 @@ main() { warning() { :; } fi - parse $1; - return $? + parse "$1" } parse() { |