[libbluray-devel] Allow the bootstrap script to be called from a subfolder

Jean-Baptiste Kempf git at videolan.org
Thu Nov 12 13:17:43 CET 2015


libbluray | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Nov 12 13:17:19 2015 +0100| [a788a422aa67a6578194f34217ff02842c1c8631] | committer: Jean-Baptiste Kempf

Allow the bootstrap script to be called from a subfolder

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=a788a422aa67a6578194f34217ff02842c1c8631
---

 bootstrap |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/bootstrap b/bootstrap
index 872167c..bde67cb 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,3 +1,7 @@
 #!/bin/sh
 
+set -e
+
+cd "$(dirname "$0")"
+
 autoreconf -vif



More information about the libbluray-devel mailing list