]> andersk Git - moira.git/blobdiff - gen/www.sh
Don't allow records with dollar signs through.
[moira.git] / gen / www.sh
index 510bba40145d8416597289f4e4a44881f43fc294..c12e44f627c995f82e9f0c90db750c08d03807ce 100644 (file)
@@ -17,6 +17,7 @@ MR_HESFILE=47836472
 MR_MISSINGFILE=47836473
 MR_NAMED=47836475
 MR_TARERR=47836476
+MR_MKCRED=47836474
 
 umask 22
 
@@ -57,7 +58,7 @@ for file in `tar tf $TARFILE | awk '{print $1}' | sed 's;/$;;'` ; do
                fi
                $BIN_DIR/dbmanage $file import $file.db 
                if [ $? != 0 ]; then
-                       exit $MR_TARERR
+                       exit $MR_MKCRED
                fi
                mv $DEST_DIR/$file $SRC_DIR/save/$file
                mv $DEST_DIR/$file.db $SRC_DIR/save/$file.db
This page took 0.045279 seconds and 4 git commands to generate.