From 139487499343d9d112732bb82def9c24d00f3a9f Mon Sep 17 00:00:00 2001 From: Vikash Kothary Date: Sun, 16 Jan 2022 20:36:56 +0000 Subject: [PATCH] chore: Use printenv command in printenv script and refactor --- scripts/print-env.sh | 5 ----- scripts/printenv.sh | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) delete mode 100755 scripts/print-env.sh create mode 100644 scripts/printenv.sh diff --git a/scripts/print-env.sh b/scripts/print-env.sh deleted file mode 100755 index e755e2e..0000000 --- a/scripts/print-env.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# file: print-env.sh -# description: Print env variable. - -echo "${ENV}" \ No newline at end of file diff --git a/scripts/printenv.sh b/scripts/printenv.sh new file mode 100644 index 0000000..f37a15c --- /dev/null +++ b/scripts/printenv.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# file: printenv.sh +# description: Print all environment variables. Used for debugging. + +printenv | sort \ No newline at end of file