diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2013-08-16 02:18:29 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2017-04-02 03:14:21 -0400 |
commit | 285084879f195c7dab75dc8ddb9c4895ab98f9ec (patch) | |
tree | 1e03536795be58879ae0af8964b55545c51b184b /lddd.in | |
parent | 65df23f2c8176a526cd1702b2e2a4d5a7b17c720 (diff) | |
download | devtools32-285084879f195c7dab75dc8ddb9c4895ab98f9ec.tar.xz |
Avoid using string interpolation; use printf format strings instead.
This involves extending the signature of lib/common.sh's `stat_busy()`,
`lock()`, and `slock()`. The `mesg=$1; shift` in stat_busy even suggests
that this is what was originally intended from it.
Diffstat (limited to 'lddd.in')
-rw-r--r-- | lddd.in | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -17,7 +17,7 @@ TEMPDIR=$(mktemp -d --tmpdir lddd-script.XXXX) msg 'Go out and drink some tea, this will take a while :) ...' # Check ELF binaries in the PATH and specified dir trees. for tree in $PATH $libdirs $extras; do - msg2 "DIR $tree" + msg2 "DIR %s" "$tree" # Get list of files in tree. files=$(find $tree -type f ! -name '*.a' ! -name '*.la' ! -name '*.py*' ! -name '*.txt' ! -name '*.h' ! -name '*.ttf' ! \ @@ -46,4 +46,4 @@ done # clean list sort -u $TEMPDIR/pacman.txt >> $TEMPDIR/possible-rebuilds.txt -msg "Files saved to $TEMPDIR" +msg "Files saved to %s" "$TEMPDIR" |