Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F130532
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
982 B
Referenced Files
None
Subscribers
None
View Options
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
Details
Attached
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)
Attached To
Mode
R82 deerportal
Attached
Detach File
Event Timeline