index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | William Giokas <1007380@gmail.com> | 2013-01-21 03:12:40 -0600 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-01-28 23:38:46 +1000 |
commit | 457642231e36a14c58e52e6077efa077757da2f2 (patch) | |
tree | ebf7dca982ff6ea32686beee540aca012734362b | |
parent | 6bbf6e8fa1e6dbb02bd70ab6d1e1283b00a05c8e (diff) |
-rw-r--r-- | contrib/paccache.sh.in | 8 |
diff --git a/contrib/paccache.sh.in b/contrib/paccache.sh.in index 29e2603a..74bac8a4 100644 --- a/contrib/paccache.sh.in +++ b/contrib/paccache.sh.in @@ -132,7 +132,7 @@ summarize() { if (( delete )); then printf -v output 'finished: %d packages removed' "$filecount" elif (( move )); then - printf -v output "finished: %d packages moved to \`%s'" "$filecount" "$movedir" + printf -v output "finished: %d packages moved to '%s'" "$filecount" "$movedir" elif (( dryrun )); then if (( verbose )); then msg "Candidate packages:" @@ -266,10 +266,10 @@ case $(( dryrun+delete+move )) in esac [[ -d $cachedir ]] || - die "cachedir \`%s' does not exist or is not a directory" "$cachedir" + die "cachedir '%s' does not exist or is not a directory" "$cachedir" [[ $movedir && ! -d $movedir ]] && - die "move-to directory \`%s' does not exist or is not a directory" "$movedir" + die "move-to directory '%s' does not exist or is not a directory" "$movedir" if (( move || delete )); then # make it an absolute path since we're about to chdir @@ -278,7 +278,7 @@ if (( move || delete )); then fi # unlikely that this will fail, but better make sure -cd "$cachedir" >/dev/null || die "failed to chdir to \`%s'" "$cachedir" +cd "$cachedir" >/dev/null || die "failed to chdir to '%s'" "$cachedir" # note that these results are returned in an arbitrary order from awk, but # they'll be resorted (in summarize) iff we have a verbosity level set. |