Page MenuHomePhabricator (Chris)

No OneTemporary

Authored By
Unknown
Size
982 B
Referenced Files
None
Subscribers
None
diff --git a/AppRun b/AppRun
index 2b7bc0e..b4abfdb 100755
--- a/AppRun
+++ b/AppRun
@@ -1,6 +1,4 @@
#!/bin/sh
cd "$(dirname "$0")"
-echo HJEEEEEEEEEEEEER
-pwd
export DP_DIR=.
exec ./usr/bin/DeerPortal
diff --git a/src/filetools.h b/src/filetools.h
index b556d2e..fccb9a3 100644
--- a/src/filetools.h
+++ b/src/filetools.h
@@ -1,21 +1,17 @@
#ifndef FILETOOLS_H
#define FILETOOLS_H
#include <iostream>
#include <string>
static std::string get_full_path(std::string path)
{
- std::string new_path;
- if ( getenv ( "DP_DIR" ) != NULL )
- {
- std::cout << "PATH " << new_path;
- new_path = std::string(getenv("DP_DIR")) + path ;
- std::cout << "NEW_PATH " << new_path << "\n";
- return new_path;
- }
- std::cout << "PATH " << path << "\n";
-
- return path;
+ std::string new_path;
+ if ( getenv ( "DP_DIR" ) != NULL )
+ {
+ new_path = std::string(getenv("DP_DIR")) + path ;
+ return new_path;
+ }
+ return path;
}
#endif // FILETOOLS_H

File Metadata

Mime Type
text/x-diff
Expires
Mon, Jun 15, 11:30 PM (2 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
72103
Default Alt Text
(982 B)

Event Timeline