------------------------------------------------------------
revno: 17
git commit: e1599067a2497a2dad6505bfe278067c00afd46e
committer: Laércio de Sousa <[email protected]>
timestamp: Mon 2012-05-21 11:18:01 -0300
message:
  Fix prepatch function in pai-data-installer.postinst
modified:
  debian/pai-data-installer.postinst


--
lp:pmmc-pte-pai
https://code.launchpad.net/~oiteam/pmmc-pte-pai/trunk

Your team Orientadores de Informática is subscribed to branch lp:pmmc-pte-pai.
To unsubscribe from this branch go to 
https://code.launchpad.net/~oiteam/pmmc-pte-pai/trunk/+edit-subscription
=== modified file 'debian/pai-data-installer.postinst'
--- debian/pai-data-installer.postinst	2012-05-18 15:57:13 +0000
+++ debian/pai-data-installer.postinst	2012-05-21 14:18:01 +0000
@@ -134,8 +134,9 @@
     DATA_DEST=/opt/pmmc/pte/pai
     PAI_TEMP_DIR=`mktemp -d --tmpdir pai-patchset-XXXXXX`
     echo "Fetching patches from GitHub..."
-    git clone https://github.com/oiteam/pmmc-pte-pai-patchset.git ${PAI_TEMP_DIR}
-    cp -r ${PAI_TEMP_DIR}/patches ${DATA_DEST}
+    (cd ${PAI_TEMP_DIR}
+    git clone https://github.com/oiteam/pmmc-pte-pai-patchset.git
+    cp -r pmmc-pte-pai-patchset/patches ${DATA_DEST})
     rm -rf ${PAI_TEMP_DIR}
 }
 

-- 
Mailing list: https://launchpad.net/~oiteam
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~oiteam
More help   : https://help.launchpad.net/ListHelp

Reply via email to