diff options
author | Brian Cameron <brian.cameron@sun.com> | 2004-09-14 19:30:07 +0000 |
---|---|---|
committer | Brian Cameron <brian.cameron@sun.com> | 2004-09-14 19:30:07 +0000 |
commit | 27a5236511cbd10330c9f8fa3140da8c3f178ef4 (patch) | |
tree | 87ed92e3b33775cef39e3413f86d8831c7dad01b /tools | |
parent | 8b07b85b34f6226edb1fdfa707fe6353a4925ab9 (diff) |
2004-09-14 Brian Cameron <brian.cameron@sun.com
Original commit message from CVS:
2004-09-14 Brian Cameron <brian.cameron@sun.com
* tools/gst-launch-ext-m.m: Changed ~ to $ENV{HOME} to allow
this script to work on Solaris since bash shell handles echo
differenly than bash.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gst-launch-ext-m.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gst-launch-ext-m.m b/tools/gst-launch-ext-m.m index d7908df9..9a4b8c2d 100644 --- a/tools/gst-launch-ext-m.m +++ b/tools/gst-launch-ext-m.m @@ -28,7 +28,7 @@ sub read_config { my $command = shift; - my $config_file = `echo -n ~`."/.gst"; + my $config_file = $ENV{HOME}."/.gst"; if (-e $config_file) { open CONFIG, $config_file; @@ -57,7 +57,7 @@ sub read_config } if (!defined $cfg{AUDIOSINK}) { $cfg{AUDIOSINK} = "osssink"; } if (!defined $cfg{VIDEOSINK}) { $cfg{VIDEOSINK} = "ffmpegcolorspace ! xvimagesink"; } - if (!defined $cfg{CVS_PATH}) { $cfg{CVS_PATH} = `echo -n ~`."/gst/cvs"; } + if (!defined $cfg{CVS_PATH}) { $cfg{CVS_PATH} = $ENV{HOME}."/gst/cvs"; } if ($command =~ /(.+)\/gst-launch-ext-@GST_MAJORMINOR@$/) { $cfg{COMMAND_PATH} = "$1"; } |