[Pkg-xfce-commits] r1598 - desktop/trunk/xfce4-dev-tools/debian/patches
corsac at alioth.debian.org
corsac at alioth.debian.org
Tue Feb 12 08:29:21 UTC 2008
Author: corsac
Date: 2008-02-12 08:29:20 +0000 (Tue, 12 Feb 2008)
New Revision: 1598
Added:
desktop/trunk/xfce4-dev-tools/debian/patches/01-fix-bashism-in-xdt-commit.patch
Removed:
desktop/trunk/xfce4-dev-tools/debian/patches/01-fix-bashism-in-xdt-commit
Log:
rename patch so it's detected by simple-patchsys
Deleted: desktop/trunk/xfce4-dev-tools/debian/patches/01-fix-bashism-in-xdt-commit
===================================================================
--- desktop/trunk/xfce4-dev-tools/debian/patches/01-fix-bashism-in-xdt-commit 2008-02-12 07:11:07 UTC (rev 1597)
+++ desktop/trunk/xfce4-dev-tools/debian/patches/01-fix-bashism-in-xdt-commit 2008-02-12 08:29:20 UTC (rev 1598)
@@ -1,32 +0,0 @@
---- scripts/xdt-commit.orig 2007-11-17 20:18:07.000000000 +0100
-+++ scripts/xdt-commit 2008-02-12 08:07:20.000000000 +0100
-@@ -28,7 +28,7 @@
- ##
- ## Check if SVN is installed
- ##
--if ! type svn &> /dev/null; then
-+if ! type svn > /dev/null 2>&1; then
- echo "Subversion needs to be installed."
- exit 1
- fi
-@@ -37,7 +37,7 @@
- ##
- ## Check if we are in a versioned directory
- ##
--if ! svn info &> /dev/null; then
-+if ! svn info > /dev/nulli 2>&1; then
- echo "Current working directory is not versioned."
- exit 1
- fi
-@@ -63,8 +63,9 @@
- # Make sure the file exists
- if [ -f "$CHANGELOG" ]; then
- # Determine SVN status
-- STATUS=$(svn status "${CHANGELOG}")
-- STATUS=${STATUS:0:1}
-+ STATUS=$(svn status "${CHANGELOG}"|sed -e 's/^\(.\).*$/\1/')
-+ #STATUS=${STATUS:0:1} huggie 2008-01-30 bashism fix
-+
-
- # Check if file is versioned
- if [ "$STATUS" != "?" ]; then
Copied: desktop/trunk/xfce4-dev-tools/debian/patches/01-fix-bashism-in-xdt-commit.patch (from rev 1597, desktop/trunk/xfce4-dev-tools/debian/patches/01-fix-bashism-in-xdt-commit)
===================================================================
--- desktop/trunk/xfce4-dev-tools/debian/patches/01-fix-bashism-in-xdt-commit.patch (rev 0)
+++ desktop/trunk/xfce4-dev-tools/debian/patches/01-fix-bashism-in-xdt-commit.patch 2008-02-12 08:29:20 UTC (rev 1598)
@@ -0,0 +1,32 @@
+--- scripts/xdt-commit.orig 2007-11-17 20:18:07.000000000 +0100
++++ scripts/xdt-commit 2008-02-12 08:07:20.000000000 +0100
+@@ -28,7 +28,7 @@
+ ##
+ ## Check if SVN is installed
+ ##
+-if ! type svn &> /dev/null; then
++if ! type svn > /dev/null 2>&1; then
+ echo "Subversion needs to be installed."
+ exit 1
+ fi
+@@ -37,7 +37,7 @@
+ ##
+ ## Check if we are in a versioned directory
+ ##
+-if ! svn info &> /dev/null; then
++if ! svn info > /dev/nulli 2>&1; then
+ echo "Current working directory is not versioned."
+ exit 1
+ fi
+@@ -63,8 +63,9 @@
+ # Make sure the file exists
+ if [ -f "$CHANGELOG" ]; then
+ # Determine SVN status
+- STATUS=$(svn status "${CHANGELOG}")
+- STATUS=${STATUS:0:1}
++ STATUS=$(svn status "${CHANGELOG}"|sed -e 's/^\(.\).*$/\1/')
++ #STATUS=${STATUS:0:1} huggie 2008-01-30 bashism fix
++
+
+ # Check if file is versioned
+ if [ "$STATUS" != "?" ]; then
More information about the Pkg-xfce-commits
mailing list