diff --git a/bin/upload_test_files.sh b/bin/upload_test_files.sh index 80a4b1f..19cad01 100755 --- a/bin/upload_test_files.sh +++ b/bin/upload_test_files.sh @@ -17,6 +17,6 @@ for file in $TEST_PATH; do done for file in $TEST_PATH; do - printf "%${PADDING}s: " "${file#$TEST_PATH}" + printf "%$((PADDING - ${#TEST_PATH} + 1))s: " "${file#$TEST_PATH}" ./target/release/omegaupload-cli upload "$PASTE_URL" "$file" done \ No newline at end of file