The following commit has been merged in the master branch:
commit 7b48cbf173e5ec6a1c8fc6074b36fb391ec8d5d0
Author: Martin Erik Werner <[email protected]>
Date:   Sun Mar 18 00:56:20 2012 +0100

    packsounds: touch before write-testing

diff --git a/debian/scripts/packsounds b/debian/scripts/packsounds
index 5ac6dba..19cc85f 100755
--- a/debian/scripts/packsounds
+++ b/debian/scripts/packsounds
@@ -41,6 +41,7 @@ if [ $# != 1 ]; then
        exit 1
 fi
 
+touch "$1" || { echo >&2 "Unable to write to file '"$1"', aborting"; exit 1; }
 if [ ! -w "$1" ]; then
        echo >&2 "Unable to write to file '"$1"', aborting"
        exit 1

-- 
Packaging for original LIERO binary data

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to