[hipl-commit] [trunk] Rev 4426: Remove redundant basename function application; just use the value directly.

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Wed, 28 Apr 2010 17:58:02 +0300

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: 28/04/2010 at 17:58:02
Revision: 4426
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Remove redundant basename function application; just use the value directly.

Modified:
  M  tools/hipdnskeyparse.in
  M  tools/hipdnsproxy.in

=== modified file 'tools/hipdnskeyparse.in'
--- tools/hipdnskeyparse.in     2010-04-28 12:49:35 +0000
+++ tools/hipdnskeyparse.in     2010-04-28 14:57:00 +0000
@@ -22,7 +22,7 @@
 prefix=@prefix@
 
 if test ! -x $dev_script; then
-    dev_script=$(basename tools/parse-key-3.py)
+    dev_script=parse-key-3.py
 fi
 
 if echo $path | grep -q /usr; then

=== modified file 'tools/hipdnsproxy.in'
--- tools/hipdnsproxy.in        2010-04-28 12:49:35 +0000
+++ tools/hipdnsproxy.in        2010-04-28 14:57:00 +0000
@@ -22,7 +22,7 @@
 prefix=@prefix@
 
 if test ! -x $dev_script; then
-    dev_script=$(basename tools/dnsproxy.py)
+    dev_script=dnsproxy.py
 fi
 
 if echo $path | grep -q /usr; then

Other related posts:

  • » [hipl-commit] [trunk] Rev 4426: Remove redundant basename function application; just use the value directly. - Diego Biurrun