fix upgradeSchema.sh
authorDaniel Albers <daniel@lbers.com>
Thu, 11 Feb 2010 20:47:52 +0000 (21:47 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 14 Feb 2010 20:59:18 +0000 (21:59 +0100)
src/core/SQL/upgradeSchema.sh

index d475307..05feac6 100755 (executable)
@@ -23,4 +23,4 @@ fi
 
 mkdir $NEW_VERSION
 git add $NEW_VERSION
-find $CURRENT_VERSION -depth 1 \! -name "upgrade_*" \! -name ".*" -exec git mv {} $NEW_VERSION \;
+find $CURRENT_VERSION -maxdepth 1 -type f \! -name "upgrade_*" \! -name ".*" -exec git mv {} $NEW_VERSION \;