[pkg-fso-commits] [SCM] Various non-packaged files branch, master, updated. 46fda86ce5ecdfb3937b867c0bafbd2cd82ec125

Luca Capello luca at pca.it
Mon Mar 23 21:39:36 UTC 2009


The following commit has been merged in the master branch:
commit 46fda86ce5ecdfb3937b867c0bafbd2cd82ec125
Author: Luca Capello <luca at pca.it>
Date:   Mon Mar 23 22:39:30 2009 +0100

    install.sh: add missing /tmp/ in local tar section

diff --git a/install.sh b/install.sh
index cc7d493..4dfd118 100755
--- a/install.sh
+++ b/install.sh
@@ -489,11 +489,10 @@ action_testing () {
 		rm -f /tmp/data.tar.gz # FIXME: ar should just overwrite it
 		( cd /tmp && ar -x tar.deb data.tar.gz )
 		mkdir -p /usr/local
-		gunzip -c data.tar.gz | $TAR_APPLICATION -x -C /usr/local/
+		gunzip -c /tmp/data.tar.gz | $TAR_APPLICATION -x -C /usr/local/
 		TAR_APPLICATION=/usr/local/bin/tar
-		rm -f data.tar.gz
-		rm -f tar.deb
-		cd "$cwd"
+		rm -f /tmp/data.tar.gz
+		rm -f /tmp/tar.deb
 	fi
 
 	if [ "$SD_PART1_FS" = "vfat" ]; then

-- 
Various non-packaged files



More information about the pkg-fso-commits mailing list