summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2011-04-03 17:42:18 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2011-04-03 17:42:18 +0200
commit903d732fb1b7c4363d9d4dfb921094b7525fa0db (patch)
tree969b01e8d06f4ede6804e3ef51a5f53b160c8f95
parente9052e9258f98a05bedd3e170d661947b9bc8c71 (diff)
libewf: Fix compile.sh script, don't be verbose by default
-rwxr-xr-xcompile.sh4
-rw-r--r--src/ewf.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/compile.sh b/compile.sh
index f7bb7ba..88a7d1b 100755
--- a/compile.sh
+++ b/compile.sh
@@ -175,8 +175,8 @@ CONFIGUREOPT="$CONFIGUREOPT --with-ewf-lib=${PWDSRC}/libewf-${VER_LIBEWF}/libewf
if [ ! -e $compiledir/libewf-$VER_LIBEWF/configure ];
then
- if [ ! -e libewf-$VER_LIBEWF.tar.gz -a ! -e libewf-alpha -$VER_LIBEWF.tar.gz -a ! -e libewf-beta-$VER_LIBEWF.tar.gz ];
- then
+ if [ ! -e libewf-$VER_LIBEWF.tar.gz -a ! -e libewf-alpha-$VER_LIBEWF.tar.gz -a ! -e libewf-beta-$VER_LIBEWF.tar.gz ];
+ then
$LYNX "http://sourceforge.net/project/platformdownload.php?group_id=167783"
fi
if [ -e libewf-$VER_LIBEWF.tar.gz ];
diff --git a/src/ewf.c b/src/ewf.c
index d0bb0d6..2471606 100644
--- a/src/ewf.c
+++ b/src/ewf.c
@@ -86,7 +86,9 @@ disk_t *fewf_init(const char *device, const arch_fnct_t *arch, const int mode)
#ifdef HAVE_GLOB_H
glob_t globbuf;
#endif
+#ifdef DEBUG_EWF
libewf_set_notify_values( stderr, 1 );
+#endif
data=(struct info_fewf_struct *)MALLOC(sizeof(*data));
data->offset=0;
strncpy(data->file_name,device,sizeof(data->file_name));