dip

old school recipes for janitorial snafu.
git clone git://git.ricketyspace.net/dip.git
Log | Files | Refs

commit ac511ee4ac95fbc662c5b830029d3b16567c97f2
parent 78cbf25bc19fcbae1251a809584acefbb5225652
Author: rsiddharth <s@ricketyspace.net>
Date:   Sat, 29 Dec 2018 17:01:39 -0500

usr/local/bin: Update tball.

* usr/local/bin/tball: Fix sort command.

Diffstat:
usr/local/bin/tball | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/usr/local/bin/tball b/usr/local/bin/tball @@ -59,7 +59,7 @@ file_updated() { local DEST=$2 # Get modified time for file - local FTIME=$(stat -r $SRC | cut -d ' ' -f 11) + local FTIME=$(stat -r $SRC | cut -d ' ' -f 10) # Get the last time source was tballed. local TBALLT=$(find $DEST -type f -name '.suffixes' -exec cat '{}' \; \ @@ -78,7 +78,7 @@ dir_updated() { # Get file that was last modified in this directory. local F=$(find $SRC -type f -exec stat -r '{}' \; \ - | sort -r -k 13 | head -n 1 | cut -d ' ' -f 15); + | sort -r -k 10 | head -n 1 | cut -d ' ' -f 15); return $(file_updated $F $DEST) }