summaryrefslogtreecommitdiff
path: root/apply_patches.sh
diff options
context:
space:
mode:
Diffstat (limited to 'apply_patches.sh')
-rwxr-xr-xapply_patches.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/apply_patches.sh b/apply_patches.sh
index e8e090e..3ce6856 100755
--- a/apply_patches.sh
+++ b/apply_patches.sh
@@ -1,4 +1,7 @@
#!/bin/bash
+
+cd "$(realpath $(dirname $0))"
+
repo="$1"
if [[ "x$repo" == "x" ]];