summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-08-12 21:16:17 +0000
committerMiles Bader <miles@gnu.org>1996-08-12 21:16:17 +0000
commit57a3024338ad8471b167466ee78b8b8cc6be1b4c (patch)
tree786917898756eb0ae5dee753bb1eeca6aa12d430
parenta51b4015bdd1432ad2391c66f9bd3a1acd16d7dc (diff)
Use prog variables from the environment if they're there.
-rwxr-xr-xsutils/e2os.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/sutils/e2os.sh b/sutils/e2os.sh
index 028f076e..8612cb77 100755
--- a/sutils/e2os.sh
+++ b/sutils/e2os.sh
@@ -20,10 +20,10 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
-DD=/bin/dd
-OD=/bin/od
-SED=/bin/sed
-AWK=/bin/gawk
+DD=${DD-/bin/dd}
+OD=${OD-/bin/od}
+SED=${SED-/bin/sed}
+AWK=${AWK-/bin/gawk}
USAGE="Usage: $0 DEVICE [OS]"