Use $PWD for ROOT variable
authorLuK1337 <priv.luk@gmail.com>
Sat, 11 Feb 2017 17:59:34 +0000 (18:59 +0100)
committerLuK1337 <priv.luk@gmail.com>
Sat, 11 Feb 2017 18:00:49 +0000 (19:00 +0100)
Change-Id: I2d2eb30ca657f51bc772f14f56e3eb5ba85ccd11

patch.sh

index f3c18ac5a32f107b1916f705e7c3846303f4563f..05f455ddc7b7a54cf43a2452698bce93c551c3b5 100755 (executable)
--- a/patch.sh
+++ b/patch.sh
@@ -1,4 +1,4 @@
-ROOT='/home/luk/android/lineage-14.1'
+ROOT="${PWD}"
 REPOSITORIES=(
     'packages/apps/ContactsCommon'
     'packages/apps/Contacts'