From 3cc5407241109585139ba110f84f695655f07b07 Mon Sep 17 00:00:00 2001 From: Vlad Gheorghiu Date: Sat, 27 Apr 2024 15:23:29 -0400 Subject: [PATCH] Minor update on prettyprint.sh POSIX-compliance Signed-off-by: Vlad Gheorghiu --- prettyprint.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/prettyprint.sh b/prettyprint.sh index b0976d7..6b617ed 100755 --- a/prettyprint.sh +++ b/prettyprint.sh @@ -1,7 +1,9 @@ -#!/usr/bin/env bash +#!/bin/sh + +# $@ - List of directories # Code beautifier with clang-format -# Recursively parses the folder(s) passed as command line argument(s) +# Recursively parses the directories passed as command line arguments if test -z "$CLANG_FORMAT"; then echo "Please set the CLANG_FORMAT environment variable to point to the \