]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
nightly: source is a bashism, use '.' instead
authorMark Wielaard <mark@klomp.org>
Sat, 6 Sep 2014 18:33:14 +0000 (18:33 +0000)
committerMark Wielaard <mark@klomp.org>
Sat, 6 Sep 2014 18:33:14 +0000 (18:33 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14483

nightly/bin/nightly

index bef93a24bedecf44e84f11eccb2d0b62d9280a61..583e7a9c7bf6878935f3a0cf3d33791dd888013f 100755 (executable)
@@ -223,7 +223,7 @@ fi
 libc=`echo $libc | sed "s/, by Roland.*//"`
 uname_stuff="`uname -mrs`"
 if [ -r /etc/os-release ]; then
-  vendor_stuff="`source /etc/os-release; echo ${NAME} ${VERSION}`"
+  vendor_stuff="`. /etc/os-release; echo ${NAME} ${VERSION}`"
 elif which lsb_release 2>&1 > /dev/null; then
   vendor_stuff="`lsb_release -sicr | xargs echo`"
 elif [ -e "/etc/issue.net" -a -r "/etc/issue.net" ]; then